Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

gridbaglayout tutorial  RSS feed

 
Cathy Song
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I just dont understand gridbaglayout !!
I have read sun's tutorial- does anyone know of one which has
pictures to show what the different constraints mean -
* anchor
* fill
* gridx, gridy
* gridwidth, gridheight
* insets
* ipadx, ipady
* weightx, weighty


Thanks,
Cathy
 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you read How to Use GridBagLayout and try playing a while with the various constants, along with reading the examples proposed, i guess you'll have a start; after that, try building a GUI with what you just learned
 
Stephen Boston
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It does take some playing with it before you catch on.

That link that was posted was the one I worked with. And yes making your own application with it helps a lot.

Good luck!

If you run into problems post them here. I'll see what I can do to help.

Steve
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!