I have a tabpane with some tabs. I want to add a single button on the same line as the tabs (should be right aligned and opposite to the tabs).
I was thinking I can add the Button like: (but this doesnt work)
tabPane.getTabs().add(tab1,tab2,tab3,new Button("btn"))
Please tell me how to do this (see example of image of what i want below).

NOTE: THE BUTTON SHOULD ONLY BE VISIBLE WHEN TAB1 OF THE TABAREA IS ACTIVE. THE BUTTON SHOULD BE HIDDEN WHEN ON TAB2 AND TAB3. THANKS
