Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Panel Layout  RSS feed

 
James Lechte
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am having troubles with panel layout management and was wondering if i could be pointed in the way of any good tutorials? i had a look on Sun, but to no avail.
cheers James
 
Bill Prentice
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A good place to start would be the Java Tutorial. There is a trail called "Creating a GUI with JFC/Swing" which has a section
on Layout Managers.
There are also some articles on http://developer.java.sun.com/developer/technicalArticles/GUI/index.html
Good Luck
 
James Lechte
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Bill,
it seems like you can be playing around for ages with layout mgmt before you get it perfect!
cheers James
 
Kenneth Lee
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by James Lechte:
i am having troubles with panel layout management and was wondering if i could be pointed in the way of any good tutorials? i had a look on Sun, but to no avail.
cheers James

One hint I have -- I often find it easier to break things down into multiple panels rather than use the GridBagLayout! Man, I hated that thing...
 
Vishakha Ahuja
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kenneth,
that's a really neat idea ! GridBag layout is really a nuisance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!