-
Update the GUI in JTable
Hi
I create JTable, and the data is controled by AbstractTableModel
I have event that change the data in the JTable and I doing it by update the data in the AbstractTableModel.
However, the JTable does not updated.
How can I update the Jtable when the TableModel is changed?
-
DefaultTableModel allows changes to be made to its data.
-
Ok, but changed in the data means automaticly changed in the GUI ?
Must be another method that caused the changes to be updated in the GUI
-
Yes, DefaultTableModel's changes will be updated automatically to the GUI.