File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 agree. Here's the link:
subject: Layout issue
jQuery in Action, 3rd edition