A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Swing / AWT / SWT
Grid layout problem
Joined: Feb 16, 2011
Mar 17, 2011 04:55:37
I have 5 buttons on grid layout as::
but i want them to be as::
how to do , if possible please write code.
Joined: May 03, 2008
Mar 17, 2011 04:59:32
1. The problem isn't apparent. Post any ASCII art it code tags so it retains its alignment
2. This is a forum,
. It's up to
code and ask any specific question about it.
Have you gone through the tutorial for layouts?
There are no new questions, but there may be new answers.
Joined: Apr 06, 2010
Mar 17, 2011 05:00:59
Look at the
property of the container in question - that affects how the
. Or, you could just stick a blank component into the gap (e.g. an empty
I agree. Here's the link:
subject: Grid layout problem
how to scale to screen resolution?
to intellij users, if possible
doubts over layouts
panel include another panel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015