File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Can you update two independent tables with one fireTableChanged from DB Query Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Can you update two independent tables with one fireTableChanged from DB Query" Watch "Can you update two independent tables with one fireTableChanged from DB Query" New topic
Author

Can you update two independent tables with one fireTableChanged from DB Query

john kalaigian
Greenhorn

Joined: Nov 20, 2001
Posts: 15
I have a table that gets results off a DB query and is populated - Following the table example found in under the JDK Demo. Now what i want to do is add a second table to my container and have new results show up on that table based on a row selection from the original table. So say table 1 generated results of students in a school, I would like to run another query and have it update table 2 which contains information about the student that is selected in table 1. How do i do this using a common table model and fireTableChanged?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Can you update two independent tables with one fireTableChanged from DB Query
 
Similar Threads
getting data from one panel and display it on main panel
Performance problem in jdbc
Refreshing JTable
Update statement hangs
Editing table