I am trying to use JTable in the way where new data record are added to the end. The strange thing is the scroll bar does not go to the end of the table; instea
JTable
Why not call fireTableRowsInserted upon updating in your TableModel implementation?
fireTableRowsInserted
TableModel
I usally have something like below in my TableModel implementation:
public void addRow (MyDataType valToAdd){ rows.add(valToAdd); fireTableRowsInserted(rows.size()-1,rows.size()-1); }