This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Updating Database by editing jtable 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 » Databases » JDBC
Reply locked New topic
Author

Updating Database by editing jtable

Haris Tasawar
Ranch Hand

Joined: Aug 19, 2011
Posts: 30
Hey all,
I am new to java and i have a problem which i want to resolve. I recently saw a code which basically lists the values of a database in a jtable, so i modified it and used it in my own app. The problem which i have now come across is the updating of the database by editing the jtable. I have no idea how to do this, the only thing i know is that i have to call an event like firecellupdated but i dont know how to call it and what to call in it and also where to call it.

Can anyone help me on this issue. Any help would be appreciated.


Harry.


Note: Here is the listing code in case you guys require it


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
Duplicate, please continue the topic at http://www.coderanch.com/t/549824/GUI/java/Updating-Database-editing-jtable.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Updating Database by editing jtable
 
Similar Threads
JTable in a JScrollPane (last column heading of table always cut)
JTable Columns
Edit cell with another JTable
Updating Database by editing jtable
Columns on JTable