I'm having a small problem, which is now a big problem since everything is due in a few hours.
I have a DefaultTableModel that I put inside a Jtable via
Spoiler: show
I'm trying to automatically save the data whenever someone changes the data in the table. I've already figured out how to save the data from the table.. but I can't find a way to automatically run the code required when the data is changed.
I added an TableModelListener to the DefaultTableModel, but events don't seem to be firing whenever I edit the data in the gui.
Spoiler: show
Spoiler: show
Does anyone have any idea why the event might not be firing? I've spent at least an hour or two in google trying to find out why but it's gotten me nowhere. The method of editing the data in the table that I'm trying to get an event fired for is the user double clicking on the cell and typing in data then hitting enter.
XI Wiki

