wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes how to update fields when a table cell is edited. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to update fields when a table cell is edited." Watch "how to update fields when a table cell is edited." New topic
Author

how to update fields when a table cell is edited.

Kadir S.
Greenhorn

Joined: Oct 23, 2002
Posts: 5
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

Joined: May 17, 2001
Posts: 2823
The setValueAt() method can be used to do this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to update fields when a table cell is edited.
 
Similar Threads
query for updating
Question Regarding MVC Approach
Showing Beginning of Text in JTextField by Default
Reset All Fields in Add User Screen
Multiple table records in jtextfields