I've been having a problem refreshing data in my JTable, and everyone says to use
However, the API doc for this method says
void fireTableDataChanged() Notifies all listeners that all cell values in the table's rows may have changed.
So heres my question: Do I need to register/create a table listener? And if so, how do I do it?
Code example would be perfect!
SCJD, SCBCD, SCJP
posted 11 years ago
Two TableListeners are added implicitly to the JTable when you created it, as such there is no need to add your own Listeners, unless you want other custom actions to be performed when the fireTableDataXXX method is invoked.