File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Soft Skills this week in the Jobs Discussion 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.