Hi,
Is table.repaint() really neccessary when updating a table's row by EventTableModel class?
This is my EventTableModel:
EventTableModel<MyObject> eventTableModel = new EventTableModel<MyObject>(filteredList, tableFormat);
I am doing the following, but I have to "scroll" my table up/down to see the updating effect.
public void fireBookUpdate(MyObject someObject){
int updateIdx = eventList.indexOf(someObject);
eventTableModel.fireTableRowsUpdated(updateIdx, updateIdx);
// table.repaint(); <-- It works instantly with repaint()
}
Is there some kind of "lazy-loading" ?
Thanks in advance for any help.