Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Cound not find support for TabPane
Cound not find support for TabPane [message #10093] Thu, 11 December 2003 11:28 Go to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.org

Did I miss anything?
Re: Cound not find support for TabPane [message #10116 is a reply to message #10093] Thu, 11 December 2003 12:13 Go to previous message
Eclipse UserFriend
There is plenty of support for JTabbedPane. You can drop it into a container
just like other containers. Then drop JPanel's (or other Containers) onto it
and it will create a page for each one. Once you drop something onto the
JTabbedPane you can set some special properties in the Properties viewer.
Properties such as the tab title, icon, and tooltiptext that are used in the
parameters for the code generation for the JTabbedPane.addTab method:
addTab(String title, Icon icon, Component component, String tip)

You can also use the Beans viewer to drop components and select them to
switch to each page... or you can use the context menu on the JTabbedPane to
show a "Switch To..." popup. This will show a list of the pages to select
in order to switch to each. You cannot select the actual tab since Swing
does not give an actual selection point for selecting the tabs in design
time.

Currently the VE doesn't model it if you use the standard add(Component)
method... only the above method is supported for now

Regards...
Peter Walker

"Alex" <nospam@nospam.org> wrote in message news:bra5m0$mhp$1@eclipse.org...
> Did I miss anything?
>
>
Re: Cound not find support for TabPane [message #573924 is a reply to message #10093] Thu, 11 December 2003 12:13 Go to previous message
Eclipse UserFriend
There is plenty of support for JTabbedPane. You can drop it into a container
just like other containers. Then drop JPanel's (or other Containers) onto it
and it will create a page for each one. Once you drop something onto the
JTabbedPane you can set some special properties in the Properties viewer.
Properties such as the tab title, icon, and tooltiptext that are used in the
parameters for the code generation for the JTabbedPane.addTab method:
addTab(String title, Icon icon, Component component, String tip)

You can also use the Beans viewer to drop components and select them to
switch to each page... or you can use the context menu on the JTabbedPane to
show a "Switch To..." popup. This will show a list of the pages to select
in order to switch to each. You cannot select the actual tab since Swing
does not give an actual selection point for selecting the tabs in design
time.

Currently the VE doesn't model it if you use the standard add(Component)
method... only the above method is supported for now

Regards...
Peter Walker

"Alex" <nospam@nospam.org> wrote in message news:bra5m0$mhp$1@eclipse.org...
> Did I miss anything?
>
>
Previous Topic:Cound not find support for TabPane
Next Topic:Problems with classpathContainerInitializer extension
Goto Forum:
  


Current Time: Thu May 08 03:26:46 EDT 2025

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

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

Back to the top