|
Get the row selected in the first table and set that same row selected in the second table.
To get the selected row of the first table you can add a ListSelectionListener to the SelectionModel to get the leadSelectionIndex from within its valueChanged method or you can add a MouseListener to the table and use the rowAtPoint method to get the row index.
To change the selection of the second table you can use the changeSelection method.
|