aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Can we achieve the effects of GridBagLayout  in other Layouts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Can we achieve the effects of GridBagLayout  in other Layouts?" Watch "Can we achieve the effects of GridBagLayout  in other Layouts?" New topic
Author

Can we achieve the effects of GridBagLayout in other Layouts?

L Sankaranarayanan
Greenhorn

Joined: Dec 13, 2012
Posts: 11
Can any one help me to achieve the effects of GridBagLayout Manager without setting Layout(null) or grouping so many JPanels?Is there any equivalent Layouts in Java?
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42952
    
  73
GridBaglayout has a lot of flexibility, so if you're looking for something that has all that yet is easier to use, then I'm not sure if anything like that is around.

If, on the other hand, you're just looking for more than what GridLayout offers, check out GridLayout2 and SGLayout, links to both of which can be found in the SwingFaq.
L Sankaranarayanan
Greenhorn

Joined: Dec 13, 2012
Posts: 11
Thanks for your reply Now I have understood the power of GridBagLayout. Thanks once again
 
Don't get me started about those stupid light bulbs.
 
subject: Can we achieve the effects of GridBagLayout in other Layouts?