• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable sorting

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can a JTable sort by clicking on a column header and if not is there some
other list component that will sort that way?

Thanks.
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It CAN. You just have to write the code. Example here.
 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Worked! Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!