Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Help BoxLayout
Help BoxLayout [message #72555] Tue, 23 November 2004 13:25 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Help BoxLayout
Next Topic:Implementor Property Editor like in VAJ?
Goto Forum:
  


Current Time: Sat May 10 14:36:09 EDT 2025

Powered by FUDForum. Page generated in 0.03703 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top