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 Issues 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 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: 15302

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
It's not a secret anymore!