A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Help in GroupLayout
Joined: May 29, 2008
Jul 10, 2009 04:04:46
i have arranged two panels using grouplayout but they use 50% each of space. How can i set the size of panels in grouplayout.
Thanks and Regards
Joined: Jul 26, 2007
Jul 10, 2009 04:24:16
GroupLayouts are usually used by IDEs and as such are not supposed to be used for handcoding. I would recommend using something simpler.
(1,2) would give you a layout for two panels occupying identical space in two columns.
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
I agree. Here's the link:
subject: Help in GroupLayout
Problem when adding a new JTextPane to GroupLayout at run time
best layout to use
Adding a radio button to a sequential group using a loop
How to adjust sizes and positions in a JPanel/JFrame
Best Swing Development Environment
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015