• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to update fields when a table cell is edited.

 
Kadir S.
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I have a table and some other gui components(such as JTextFields) on a JFrame. I use my own TableModel. I want to update some JTextFields with new data, when a specific column is edited.
I don't know whether it is possible or not?
Is there any solution?
Thanks
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The setValueAt() method can be used to do this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic