Link to home
Start Free TrialLog in
Avatar of sangameshrh
sangameshrh

asked on

Sorting Jtable based on column in JDK 1.6

I have a JTable which uses DefaultTableModel.
I want to sort the JTable when mouse is being clicked on a particular column header.(Table should be sorted according to the selected column values)
I am using JDK 1.6.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sangameshrh
sangameshrh

ASKER

Thanks