• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: [UrlyBird 1.3.1] gridbag layout too difficult?

 
james render
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
has been sooo long since I had to write anything in Swing. Messing around with my configuration gui. Got fed up of creating a million and one JPanels to assist with layout, decided to just go the way of the gridbag (she is a cruel mistress ), is this technique out-dated, too complex, has anything come along since java 1.1 to help ease my layout pains?
thank you helpful people..
James
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope, GridBagLayout is your best choice, in my mind.
Just make a graph on paper and draw your objects on there to determine which parts of the grid your objects need to be on. Also, you can create a GridBagConstraintsHelper class to help out.
Mark
 
Eric Cartman
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OFFTOPIC:
James are you the guy who invented JORB? The extensible Java framework for object management?
Thanks
EC
 
james render
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why yes I am Eric. Has my fame and fortune spread to foreign lands. Check out SMORGESJORB, the swedish version.
 
Eric Cartman
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are a legend in Scunthorpe James, our local council runs JORB to manage the whole county's wages system.
I'm not worthy <bows>
EC
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic