JTable discards input when focus lost
843804Nov 1 2004 — edited Nov 1 2004Hi! Im running Java 1.4.2-b28.
Problem as follows:
I have a JTable where the user can enter som data.
I also have a button with the caption "Minimize" that starts processing of the same data.
If i enter a value into the table (say "foo") and press "Minimize" when the cell is in editing mode, "foo" is NOT SAVED into the JTable's TableModel! getValueAt(int row, int col) returns an old value instead!
How can i change the focus lost behaviour on the cell? Is this a bug??
Regards
/Alex