This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes edit data in JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "edit data in JTable" Watch "edit data in JTable" New topic
Author

edit data in JTable

wong chang kit
Greenhorn

Joined: May 15, 2012
Posts: 20
Anyone knows how to write a Java program that allows user to edit data in the JTable where the new data will be stored into database directly?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
use the appropriate listener
wong chang kit
Greenhorn

Joined: May 15, 2012
Posts: 20
What kind of listener should I use? Any suggestions?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
TableModelListener
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: edit data in JTable
 
It's not a secret anymore!