Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JInternalFrame design question

 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5126
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The GroupLayout description is good in the tutorial. i will try learn it and code instead of using netbeans. Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic