File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Binding Database Tables in Desktop App Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Binding Database Tables in Desktop App" Watch "Binding Database Tables in Desktop App" New topic
Author

Binding Database Tables in Desktop App

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?
 
I agree. Here's the link: jrebel
 
subject: Binding Database Tables in Desktop App
 
Similar Threads
binding two JTables to each other
What effects by using a lot of foreign keys?
Using rowid in join, is it right technique?
joining multiple.tables..
Hibernate and database physical design