I'm working on a basic application that allows the selection/removal of JComboBox items into a List object. When I remove an item from the List I add it back to the JComboBox, but it is appended onto the end, and I want it to sort itself alphabetically.
Is there a simple command I'm missing in the basic implementation of JComboBox to re-sort, or do I have to write something else that handles this situation?
Is there a simple command I'm missing in the basic implementation of JComboBox to re-sort, or do I have to write something else that handles this situation?