File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can we achieve the effects of GridBagLayout in other Layouts?

 
L Sankaranarayanan
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply Now I have understood the power of GridBagLayout. Thanks once again
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic