This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Layout Issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Layout Issues" Watch "Layout Issues" New topic

Layout Issues

Prashanth Bhanu
Ranch Hand

Joined: Sep 25, 2003
Posts: 110
Hi friends,

I'm having a JpanelA with boder layout.PanelB is also having a border layout with some components(again on a panel) on the NORTH,a panel with some more componenents on the CENTER,Another penal containg a JTable and buttons on the SOUTH.
while displaying it displays only the NORTH and SOUTH components!!!.If i remove the component in SOUTH then the component in the CENTER gets displayed.What could be the reason?.No exceptions thrown...
Thanks in advance....
[ January 29, 2007: Message edited by: Gregg Bolinger ]
Prashanth Bhanu
Ranch Hand

Joined: Sep 25, 2003
Posts: 110
Hi Friends,

Subject is not JTabbedPane instead Layout should have been.Sorry for that
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
post the code that demonstrates the problem (just JPanels with JLabels will do)
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

I edited your post and fixed the subject for you. You have the ability to do this to your own threads as well. In the toolbar above your post there is an icon that looks like a piece of paper with a pencil. Click that to edit/delete your post if ever you need to.

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: Layout Issues
Similar Threads
Layout, mock question
AWT in an Applet
BorderLayout problem
which layout manager to use
Simple GUI program: changing color of a panel.