aspose file tools*
The moose likes JDBC and the fly likes How to create master/detail form like access or oracle did? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to create master/detail form like access or oracle did?" Watch "How to create master/detail form like access or oracle did?" New topic
Author

How to create master/detail form like access or oracle did?

Tanakorn Numrubporn
Ranch Hand

Joined: Dec 11, 2006
Posts: 81
I'm new for JDBC and I want to create master/detail form (like mainform/subform of msAccess OR master/detail form of Oracle). I google for several web and several day for this topic but can't find any information. I using Eclipse and find the 'org.eclipse.ui.forms' package but I have no knowledge to use it. May you(anyone) please reply to me the suggestion or the site that say something about this form style.

Thank you in advance
Tanakorn
Jeff Ash
Greenhorn

Joined: Apr 07, 2007
Posts: 11
The Eclipse IDE does not provide an automatic wizard that generates a master/detail type form for you like you would find in MS Access. You will need to create the form and any connecting actions yourself.

For example, you might begin with a JPanel (if using Swing) or a Composite (if using SWT) and add controls for the master section. Then, you would need to add whatever actions necessary to update another JPanel or Composite representing the detail section.

I don't know your GUI programming background, but if you are new to Java GUI, you should check out the Java GUI Tutorials at:
http://java.sun.com/developer/onlineTraining/GUI/

If you decide to go with SWT for your UI, check out:
http://www.eclipse.org/swt/snippets/


Jeff Ash<br /><a href="http://www.excellentiasoftware.com" target="_blank" rel="nofollow">Excellentia Software</a>
Tanakorn Numrubporn
Ranch Hand

Joined: Dec 11, 2006
Posts: 81
Thank you for reply.
Now I try to use JDeveloper and it serve my will so well. I can use this tool to generate master/detail form in wizard style and I can turn to look in the java code that support behind this form style.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create master/detail form like access or oracle did?