Changing the entire JTable data table

Is there a relatively simple way to change all the data in a JTable? For example, if I have a JTable named books that contains information about all books by a specific author, and then the user changes author, I will have to update this table with a completely new set of information (note, due to the amount of data, it is impractical to use a filter on the table and update filter).

0


source to share


1 answer


It looks like you should be using a custom table model that could call the FireTable *** (AbstractTableModel) methods to notify you of appropriate changes.



+3


source







All Articles