This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Layout issue" Watch "Layout issue" New topic
Author

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.
 
Don't get me started about those stupid light bulbs.
 
subject: Layout issue
 
Similar Threads
Layered JPanels Transparency Problem.
Oversized JPanel
null layout issue..........
Variable Scope Problem
Scrolling BIG Images