Help BoxLayout [message #72555] |
Tue, 23 November 2004 13:25  |
Eclipse User |
|
|
|
Originally posted by: crucioc.libero.it
Hi everybody!!
Just a piar of question from a student without much experience with Swing
Libraries and Visual Plugins...
-I'm trying to build a JFrame (managed by a BoxLayout) which contains two
vertically disposed JPanels, but once created i'm not able to put them
inside... I place the first one and i can't select the frame to drop the
other, because the dropped component completely covers its container.
Am i blind or should i do this manually?
-Are Box Components such as Glue insertable in a JFrame through the VE?
TNX
Pa
|
|
|
Re: Help BoxLayout [message #72573 is a reply to message #72555] |
Tue, 23 November 2004 15:29  |
Eclipse User |
|
|
|
Originally posted by: myersj.nospam.gmail.com
Paolo -newbie- wrote:
> Hi everybody!!
>
> Just a piar of question from a student without much experience with
> Swing Libraries and Visual Plugins...
>
> -I'm trying to build a JFrame (managed by a BoxLayout) which contains
> two vertically disposed JPanels, but once created i'm not able to put
> them inside... I place the first one and i can't select the frame to
> drop the other, because the dropped component completely covers its
> container.
> Am i blind or should i do this manually?
>
> -Are Box Components such as Glue insertable in a JFrame through the VE?
>
> TNX
>
> Pa
>
Paolo,
1) You can place the second JPanel by dropping it on the JFrame in the
Java Beans View. You can rearrange components by dragging and dropping
in this list too.
2) No, the VE does not support the code patterns necessary to use Box
and Glue components of BoxLayout. See this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=49431
- Jeff
|
|
|
Re: Help BoxLayout [message #603312 is a reply to message #72555] |
Tue, 23 November 2004 15:29  |
Eclipse User |
|
|
|
Paolo -newbie- wrote:
> Hi everybody!!
>
> Just a piar of question from a student without much experience with
> Swing Libraries and Visual Plugins...
>
> -I'm trying to build a JFrame (managed by a BoxLayout) which contains
> two vertically disposed JPanels, but once created i'm not able to put
> them inside... I place the first one and i can't select the frame to
> drop the other, because the dropped component completely covers its
> container.
> Am i blind or should i do this manually?
>
> -Are Box Components such as Glue insertable in a JFrame through the VE?
>
> TNX
>
> Pa
>
Paolo,
1) You can place the second JPanel by dropping it on the JFrame in the
Java Beans View. You can rearrange components by dragging and dropping
in this list too.
2) No, the VE does not support the code patterns necessary to use Box
and Glue components of BoxLayout. See this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=49431
- Jeff
|
|
|
Powered by
FUDForum. Page generated in 0.03001 seconds