fireTableRowsInserted needs to know the start and end indices of the row(s) that were inserted.
Type: Posts; User: BinaryDigit09
fireTableRowsInserted needs to know the start and end indices of the row(s) that were inserted.
Looks like you almost have it.
myModel.fireTableDataChanged();
// fireTableRowsInserted(dataList.size() - 1, dataList.size() - 1);
Should be this:
fireTableRowsInserted(dataList.size()...