aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JInternalFrame design question" Watch "JInternalFrame design question" New topic
Author

JInternalFrame design question

John Jai
Bartender

Joined: May 31, 2011
Posts: 1776
Hi,

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
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

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
Bartender

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: http://aspose.com/file-tools
 
subject: JInternalFrame design question
 
Similar Threads
Using NullLayout for GUI development
How to change jtextfield size dynamically?
Example almost straight out of book doesn't display image
Scroll pane with JTable
Best Swing Development Environment