Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Editing last cell in JTable

 
Giuseppa Cefalu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2619
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See: Table Stop Editing
 
Giuseppa Cefalu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you,

It works great.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic