Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable and sorting  RSS feed

 
Sarone Thach
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
is it possible to do sorting with the JTable. I would like to click on a column header and have the data in the table sorted according some order that ie, numbered or alphanumeric.
There may be a few columns, any column may be clicked and sorted according to the order of that column- just like excell.
if you know what I'm talking about, and you have some ideas as to how i can accomplish this, please let me know.
Thanks,
Sarone
 
Tim Troy
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this:
Java Tutorial
Swing By Example
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!