tags:

views:

706

answers:

1

Is there a relatively simple way to change all the data in a JTable? For example, if I have a JTable named books which contains information about all books by a certain author, and then the user changes the author, I would have to update that table with a completely new set of information (note, because of the volume of data in question, it is not practical to use a filter on the table and update the filter).

+3  A: 

It sounds like you should be using a custom table model, which could call fireTable*** methods (AbstractTableModel) to notify of relevant changes.

Draemon
Could you point me to a good How-to tutorial? I've been using the Java tutorials, and it led me to a dead end with this with a similar statement.
Elie
Draemon