aspose file tools
The moose likes JDBC and Relational Databases and the fly likes binding two JTables to each other Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "binding two JTables to each other" Watch "binding two JTables to each other" New topic
Author

binding two JTables to each other

Gokcen Guner
Greenhorn

Joined: May 23, 2009
Posts: 9
I have two JTables in a form. Ive created it with palette function of NetBeans 6.5. I've binded them to database tables. These 2 database tables are connected with foreign keys.
TableA has a foreign key that is primary key of TableB.
My problem is that:
I couldnt construct the master/detail relation between them. For exapmle I want to see related rows in detail table when I select a row in master one. How can I do that?

Please delete this thread. I should have posted it to GUI forum...
 
 
subject: binding two JTables to each other