Greetings and blessings to all.
first overview ...
- I have a file called Estructura_General.fxml
- In this file I have included two files FXML (Barra_Estandar.fxml and Panel_Marcadores.FXML)
- FXML files are included in the following manner:
<HBox fx:id="herramientas" prefWidth="1233.0">
<children>
<fx:include source="Barra_estandard.fxml" />
</children>
</HBox>
....
<fx:define>
<fx:include fx:id="marcadoresPanel" source="Panel_Marcadores.fxml" />
</fx:define>
-Panel_Marcadores.fxml has a TabPane. The TabPane has three Tabs.
I want to press a button that is contained in Barra_estandard.fxml, and to open the second tab (or I want)
Panel_Marcadores.fxml not loaded Estructura_General.fxml fixedly, but opens when you press a button.
Now I can make the panel opens when I press a button on Barra_Estandar.fxml, which I can not yet do is to open in a specific Tab.
Is there a way?
This image can help you understand what I want.
http://www.subeimagenes.com/img/opentab-signa-579256.html