This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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...
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: binding two JTables to each other
 
jQuery in Action, 3rd edition