• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic