Does clear use removeAll method for listViews? I have a program that reads a file and stores the data in multiple arrays. I then use that data from the arrays to display them in a ListView, TextFields, a ComboBox, and a TextArea. I am also using an ActionListener to get the changed event for the ListView Selection. When the changed event fires, it gets the data from the arrays and populates the fields. The problem is when I save the items to the file, and it reloads the list, it will display the name properly, however the ComboBox, the ID …

Member Avatar
+0 forum 0

I am having problems finding out how to remove everything from a List. [CODE=C#] //Creating new List List<Number> ThisList = new List<Number>(); [/CODE] Once it is populated and I have got it to display how do i remove all the contents within the list so i can use it to display different results. I have had a look at RemoveAll, but i don't think that is what i want. If it is, I have no idea what condition I need to put in to remove all the elements from the List. Thanks

Member Avatar
Member Avatar
+0 forum 5

The End.