aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Help in GroupLayout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Help in GroupLayout" Watch "Help in GroupLayout" New topic
Author

Help in GroupLayout

adeeb alexander
Ranch Hand

Joined: May 29, 2008
Posts: 268
Hi all
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
alexander
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10248
    
    8

GroupLayouts are usually used by IDEs and as such are not supposed to be used for handcoding. I would recommend using something simpler.
A GridLayout(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: http://aspose.com/file-tools
 
subject: Help in GroupLayout