Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
john kalaigian
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic