aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes retrieving the event of JTable sorting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "retrieving the event of JTable sorting" Watch "retrieving the event of JTable sorting" New topic
Author

retrieving the event of JTable sorting

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

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.


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4529
    
    5

RowSorterListener.sorterChanged(RowSorterEvent e)


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: retrieving the event of JTable sorting