By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,204 Members | 1,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,204 IT Pros & Developers. It's quick & easy.

Help: GridBagLayout

P: n/a
Could someone please help me to figure out
how to use subj? I need to arrange 12 buttons
in four rows - four in 1st row, two in 2nd, another
two in 3rd , and last four in 4th row. I follow
tutorial from JDK docs but for some reason
on the 4th row only two buttons show up.

Thanks.
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Pablo wrote:
Could someone please help me to figure out
how to use subj? I need to arrange 12 buttons
in four rows - four in 1st row, two in 2nd, another
two in 3rd , and last four in 4th row. I follow
tutorial from JDK docs but for some reason
on the 4th row only two buttons show up.


You forgot to show us your code.

Stewart.

--
My e-mail is valid but not my primary mailbox, aside from its being the
unfortunate victim of intensive mail-bombing at the moment. Please keep
replies on the 'group where everyone may benefit.
Jul 17 '05 #2

P: n/a
I know this does not directly answer your question but after a couple of
painful weeks trying to get gridbag to do what I wanted, I tossed it in
the trash and started using TableLayout
(http://www.clearthought.info/software/TableLayout/)

Much more easily managed behaviour IMO.

Stewart Gordon wrote:
Pablo wrote:
Could someone please help me to figure out
how to use subj? I need to arrange 12 buttons
in four rows - four in 1st row, two in 2nd, another
two in 3rd , and last four in 4th row. I follow
tutorial from JDK docs but for some reason
on the 4th row only two buttons show up.

You forgot to show us your code.

Stewart.


Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.