• Post Reply Bookmark Topic Watch Topic
  • New Topic

Editing Cells in JTable  RSS feed

 
Lisa Zapson
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you edit the cell in a JTable and then press a button outside the JTable how can you tell the Jtable to update the model with the text that was edited in the cell? The data in the model does not change unless you press enter or tab or click on another cell. But how can I update the model if the use clicks outside the JTable?

Thanks for any suggestions, Lisa
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
see here
 
Lisa Zapson
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice. Thank you very much.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!