In my display I have two tables in master detail relation.
(When I click the mouse on the first table – the second table refreshes with its lines)
I use the mouse clicked event for that.
Sometimes I need to put the focus on the last row – programmatically.
What is the best way to put the focus in the last row and that it will trigger the event?
for example
more in JTable’s API
myTable#changeSelection(int rowIndex, int columnIndex, boolean toggle, boolean extend)