| Author |
Editing last cell in JTable
|
Giuseppa Cefalu
Ranch Hand
Joined: Jul 15, 2011
Posts: 121
|
|
Hi,
When I enter input in the last cell of the JTable, in order for the input to be saved of obtainable by getValueAt method, I need to clik on another cell. It seems that the last cell edits are not taken care automatically by the JTable. What do I need to do to fix this so that when the user enters the last value in the table, he/she does not need to click on another table to save the inpu. Thank you.
|
 |
Rob Camick
Ranch Hand
Joined: Jun 13, 2009
Posts: 1788
|
|
|
See: Table Stop Editing
|
 |
Giuseppa Cefalu
Ranch Hand
Joined: Jul 15, 2011
Posts: 121
|
|
Thank you,
It works great.
|
 |
 |
|
|
subject: Editing last cell in JTable
|
|
|