This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Layout issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Layout issue" Watch "Layout issue" New topic

Layout issue

George McCain
Ranch Hand

Joined: May 06, 2003
Posts: 35
can anyone give a suggestion on how to fix this layout issue
I have a panel "A" that is border layout. and another panel "B" that is GridLayout(0,3)
on panel "B" i add panels 1,2 and 3. which results in this layout

I would like for the 2nd panel to line up vertically to the other panels.
any ideas.
I did try a different layout manager HTMLLayout which was ok, but I would like to try it w/o using 3rd party layout managers.
Thanks in advance
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
GridBagLayout would work well.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Layout issue
jQuery in Action, 3rd edition