When you update the data in a TableModel
you're supposed to notify the listeners by calling one of the "table data changed" methods, either fireTableDataChanged
or one of the more specific methods.
Is there an advantage to calling one of the more specific methods versus the catch-all? The documentation for fireTableDataChanged
says it causes the table to redraw itself from scratch. Even on a table with a lot of elements, this shouldn't cause a performance penalty as only the elements on-screen get redrawn, right?