Skip to main content



      Home
Home » Archived » Visual Editor (VE) » swing tabbed pane & layout manager
swing tabbed pane & layout manager [message #102995] Sun, 21 August 2005 10:04 Go to next message
Eclipse UserFriend
HI. Is there a way to add a layout manager to a tabbed pane in VE?

When i add components, each component takes the whole place, i can't add
several components.

Regards,

Gaetan.
Re: swing tabbed pane & layout manager [message #103015 is a reply to message #102995] Sun, 21 August 2005 10:28 Go to previous messageGo to next message
Eclipse UserFriend
QUENTIN Gaétan wrote:

Environment:

Eclipse 3.1, VE 1.1.0, jdk 1.5.0_04 , Linux 2.6.12rc4


> HI. Is there a way to add a layout manager to a tabbed pane in VE?
>
> When i add components, each component takes the whole place, i can't add
> several components.
>
> Regards,
>
> Gaetan.
Re: swing tabbed pane & layout manager [message #103027 is a reply to message #103015] Sun, 21 August 2005 11:27 Go to previous message
Eclipse UserFriend
Originally posted by: myersj.nospam.gmail.com

Gaetan,

A JTabbedPane only accepts one child component on each tab. So what
you'll have to do is drop a JPanel onto the tab, then set the layout on
the JPanel to whatever you want, then place the multiple components on
the JPanel.

- Jeff

QUENTIN Gaétan wrote:
>>HI. Is there a way to add a layout manager to a tabbed pane in VE?
>>
>>When i add components, each component takes the whole place, i can't add
>>several components.
>>
>>Regards,
>>
>>Gaetan.
>
>
Re: swing tabbed pane & layout manager [message #610347 is a reply to message #102995] Sun, 21 August 2005 10:28 Go to previous message
Eclipse UserFriend
QUENTIN Gaétan wrote:

Environment:

Eclipse 3.1, VE 1.1.0, jdk 1.5.0_04 , Linux 2.6.12rc4


> HI. Is there a way to add a layout manager to a tabbed pane in VE?
>
> When i add components, each component takes the whole place, i can't add
> several components.
>
> Regards,
>
> Gaetan.
Re: swing tabbed pane & layout manager [message #610348 is a reply to message #103015] Sun, 21 August 2005 11:27 Go to previous message
Eclipse UserFriend
Gaetan,

A JTabbedPane only accepts one child component on each tab. So what
you'll have to do is drop a JPanel onto the tab, then set the layout on
the JPanel to whatever you want, then place the multiple components on
the JPanel.

- Jeff

QUENTIN Gaétan wrote:
>>HI. Is there a way to add a layout manager to a tabbed pane in VE?
>>
>>When i add components, each component takes the whole place, i can't add
>>several components.
>>
>>Regards,
>>
>>Gaetan.
>
>
Previous Topic:swing tabbed pane & layout manager
Next Topic:when does VE plan to support c/c++ GUI designing?
Goto Forum:
  


Current Time: Sun Jun 15 10:32:13 EDT 2025

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

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

Back to the top