Edit a JTable cell, click save button, value isn't stored in JTable
843804Nov 19 2004 — edited Nov 28 2004I'm editing a JTable cell, just using default editor provided by JTable
I click a save button elsewhere in my GUI
The value typed into the cell so far isn't stored in the TableModel yet and so doesn't get saved.
How can I make sure the value gets stored in the JTable in the above scenario when the JButton is pressed but before saving.
Preferably I'd like the code with the JButton not to have to know about the JTable at all.
Cheers,
D