I have 2 JTables and two table models set on these tables.
Out of theses one is set as the rowHeader of other. Both the tables have same data. So, I want to sort the rowHeader data by clicking over the column header of the scrollable table.
how can I sort this tables at the same time?