File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retrieving the event of JTable sorting

 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All Java Ranchers,

I have a question for You. I want to retrieve the event of table sorting - the user clicks the table's header and I want to catch that event. I know that I can set a listener on table's column model, but I use AbstractTableModel so I have to use manual event triggering (fireXXX()). Do You have any ideas on implementing that case?

Thanks for all of Your help and time.
 
Darryl Burke
Bartender
Posts: 5115
11
Java Netbeans IDE Opera
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RowSorterListener.sorterChanged(RowSorterEvent e)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic