Château Na Fleur wrote:I have one more question. When you add a row to a JTable and then call fireDataTableChanged(), is the entire table repopulated or is it just the new row that is added? That is, are the methods to add a row to the table called again for each row or just for the row being added?
For the first of your questions: Neither.
And for the second question: The fireDataTableChanged() method doesn't modify the JTable in any way. It just notifies the objects that were listening to the table model (Note: You don't add rows to a JTable, you add the rows to a table model. The JTable will be one of those listeners and will react by redrawing itself.)
And my question: Why aren't you calling fireTableRowsInserted(row, row) when you insert a row into a table model?