Is there any way to sort the items in a JComboBox?

Scott Stanchfield

Sure!

See my article "Advanced Model View Controller Techniques" (http://www7.software.ibm.com/vad.nsf/Data/Document2329) for details on how you can do it. The article uses a JTable as an example, but the same technique can be used with the ListModel that JComboBox uses.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact