File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JInternalFrame design question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JInternalFrame design question" Watch "JInternalFrame design question" New topic

JInternalFrame design question

John Jai

Joined: May 31, 2011
Posts: 1776

I need to build a JInternalFrame with a MenuBar, ToolBar, Split Pane and a Tabbed Pane at the bottom. Should i go for GroupLayout or GridBag layout. I knew a bit of GroupLayout when i previously used NetBeans to draw a Swing screen and it generated the code for me. But i am new to GridBag. And NetBeans is some what difficult to draw complex UI.
Darryl Burke

Joined: May 03, 2008
Posts: 5115

Use whichever layout suits the need. And nothing prevents you from nesting JPanels each with its own layout, in a single GUI.

Have you gone through this tutorial?

luck, db
There are no new questions, but there may be new answers.
John Jai

Joined: May 31, 2011
Posts: 1776
The GroupLayout description is good in the tutorial. i will try learn it and code instead of using netbeans. Thanks!
I agree. Here's the link:
subject: JInternalFrame design question
It's not a secret anymore!