View Full Version : Unable to display VerticalPanel if added to CENTER of BorderLayout
Please check this pastebin: http://www.extpaste.com/#1072
Here's what I did:
1) Grab TreePage.java example
2) Set the LayoutContainer to BorderLayout
3) Add VerticalPanel to CENTER
gslender
06-26-2008, 03:31 PM
What layout is on the VerticalPanel? Try changing to a RowLayout for the VerticalPanel.
darrellmeyer
06-26-2008, 04:41 PM
Any container using a BorderLayout needs to have a fixed size to function properly. Either give the layout container a size, or use a viewport.
Any container using a BorderLayout needs to have a fixed size to function properly. Either give the layout container a size, or use a viewport.
So the container cannot spread as wide as the Center?
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.