This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
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: 4880

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