B4J Question Adding Tabs via Scene Builder

Similar threads

B4J Tutorial Working with JavaFX Scene Builder
B4J Tutorial TabPane Example
B4J Tutorial Charts Framework
B4J Tutorial Accordion container
B4J Tutorial Pagination Container


Licensed User

I am using B4J. For a TabPane in Scene Builder where is the property to set the number of tabs?

It defaults to 2 (two) tabs. I'd like to add more without using code in this instance.




Well-Known Member
Licensed User
To add Tabs without programming using the JavaFX Scene Builder:
After the TabPane has been added, select a Tab in the Hierachy, then right mouseclick, select duplicate from the popupmenu. A new Tab is added.

Alternatively, open the layout fxml file (from the files folder) in a texteditor, copy & paste a tab section, like <Tab text="Tab 1"> ... </Tab> and make further changes required.