I don't know your code but it sounds like you might be adding the
Components to the wrong place.  (If possible, please post some sample
code to help us see what you are currently doing)

Are you just doing something like this?
TabPane tabPane = new TabPane();
tabPane.add(new Label("This won't work"));

If you want to add a Component to a TabPane, you need to get the
internal TabSequence first, and then add to it.

tabPane.getTabs().add(new Label("Content of tab 1");


On 2 August 2011 04:06, Frams <[email protected]> wrote:
> Dear Pivot users,
>
> sorry for the repost, I wasn't subscribed yet,
>
> I'm new with pivot and I'm trying to make a window with a tabPane with 2
> tabs with code, the documentation is a bit meagre.
>
> Can anybody help me with this?
>
> Thanks
>
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/TabPane-in-desktop-application-via-code-tp3217080p3217080.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>

Reply via email to