problem with null layout [message #152589] |
Mon, 15 May 2006 09:20  |
Eclipse User |
|
|
|
Originally posted by: bdavid01.gmail.com
Hi,
I am using Visual Editor to create a new JPanel object.
When setting the layout to FlowLayout, everything is fine and the Panel is
shown when the application is run.
However if I choose to specify a null layout, although the components show
up in Visual Editor, the JPanel is empty when the application is run.
Can anybody help me on this ?
THanks,
Ben
|
|
|
|
Re: problem with null layout [message #153695 is a reply to message #152735] |
Mon, 22 May 2006 09:26  |
Eclipse User |
|
|
|
Originally posted by: bdavid01.gmail.com
Hi, I have found out the answer,
you need to specify the prefered size and set the bounds of the panel, the
Panel won't show otherwise ...
|
|
|
Powered by
FUDForum. Page generated in 0.08290 seconds