Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Sort JTable by selection from JComboBox

843805Oct 20 2006 — edited Oct 30 2006
I'm trying to sort a JTable by whatever is selected in my JComboBox. The options in the JComboBox relate to the column headers, but I'm not sure how to sort the table.

I am doing it this way, because what is in my JComboBox is what will be searched from a text field.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2006
Added on Oct 20 2006
8 comments
233 views