I have a jtable with many row and is added into jscrollpanel,
When i add more a row to table, I want to set selection to new row and scrollbar of table must be scrolled to end row to show end row,
I try to use code as below but scrollbar don't scroll to end row.
int curRow = model.getRowCount();
Table.setRowSelectionInterval(curRow -1, curRow -1);
please help me!
Thank in advance
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)