File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
subject: Grid layout problem
panel include another panel
to intellij users, if possible
doubts over layouts
how to scale to screen resolution?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014