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 Spring in Action this week in the Spring 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
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
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.


Ping & DNS - my free Android networking tools app
L Sankaranarayanan
Greenhorn

Joined: Dec 13, 2012
Posts: 11
Thanks for your reply Now I have understood the power of GridBagLayout. Thanks once again
 
Consider Paul's rocket mass heater.
 
subject: Can we achieve the effects of GridBagLayout in other Layouts?