aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Multiple table records in jtextfields
query for updating
Reset All Fields in Add User Screen
Question Regarding MVC Approach
Showing Beginning of Text in JTextField by Default