Greetings, all.
Back with another prob, possibly?? I have an MVC app I'm working on & have added a JTable with a TableModel I've extended from AbstractTableModel. I've added a TableModelListener() to the Controller class to see when a JCheckBox has changed which is the only editable column in the JTable.
For some reason, the TableModelListener ends up firing twice. The first time it returns whatever the value was before clicking the JCheckBox. The second time, it ends ups returning the current value. Both calls register as an "UPDATE" event.
Is it normal for the TabelModelListener to be called twice from one change? If not, any hints to what might be causing this? I'll try to find the relevant code, put it takes some poking around with this mvc app & around 35K lines of code.
Thanks!
-Jay