This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 41149
    
  45
Duplicate, please continue the topic at http://www.coderanch.com/t/549824/GUI/java/Updating-Database-editing-jtable.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Updating Database by editing jtable
 
Similar Threads
Edit cell with another JTable
Updating Database by editing jtable
JTable Columns
JTable in a JScrollPane (last column heading of table always cut)
Columns on JTable