posted 21 years ago
Hi SoonAnn,
I have had problems with this in the past. I think it is just the way the JTable was designed because the table doesn't change the model data until the user has specified completion either through lostFocus or enter key.
You can programmatically move the editing cell to some other cell and then back again. Visually nothing changes and the table model gets updated with the user none the wiser.
Something like the following should work in most cases:
Regards,
Manfred.