This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "retrieving the event of JTable sorting" Watch "retrieving the event of JTable sorting" New topic

retrieving the event of JTable sorting

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 808

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

Joined: May 03, 2008
Posts: 4999

RowSorterListener.sorterChanged(RowSorterEvent e)

luck, db
There are no new questions, but there may be new answers.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: retrieving the event of JTable sorting
It's not a secret anymore!