JLists - Filtering
Can someone point me in a good direction for ways to filter my JList?
I have a list that I will want to sort based on filters the user can select from RadioButtons. It would work best if there was a way to "hide" items from the list so they actually retain their original index if possible.
I don't want to add and delete items to and from the list... I just want to filter them. Is it possible to change the visibility of specific indexes from a JList?
I would keep all my data in master list, probably an ArrayList, and when an action build a new ArrayList with the subset of data, with that smaller subset set the JList's model data.