Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about GUI

 
Sam Stackly
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
Is GridBagLayout as a layout manager is too much for this assignment?

Sam
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sam,
GridBagLayout is fine if you're comfortable with it. I didn't use it, preferring combinations of GridLayout, BorderLayout and FlowLayout. If you want total control on component positions GridBagLayout is your man.
Michael Morris
 
Mike Piotrowski
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sam,
I used GridBagLayout in my GUI and also Flow and Border. I like the almost total control you get with it GridBag, but it also depends what you are comfortable using and what gives you the desired effect you are achieving.
Mike
 
Sam Stackly
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Guys
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic