my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41073
    
  43
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Can we achieve the effects of GridBagLayout in other Layouts?
 
Similar Threads
Help on using layout manager
JTextField in JScrollPane
Positioning components
How to adjust sizes and positions in a JPanel/JFrame
Newbie, Absolute Layout Question