I have a Java Desktop Application with JavaFX 2 in it and in my FX I\'ve got a TabPane. I want to set the default tab. In other words I want to set a tab as selected. I found th
To simplify the above mentioned approach:
myTabPane.getSelectionModel().select(myTab);