You can also use a bit CSS if you're into it. Our team used a bit off CSS
For example: Create a CSS file, then in the CSS file, you can target the tab and define styles for it. Like this: .tab {
-fx-background-color: #3498db;
-fx-text-fill: white;
-fx-font-size: 14px;
-fx-font-weight: bold;
}
Then apply the CSS to your JavaFX application:
String css = getClass().getResource("styles.css").toExternalForm();
scene.getStylesheets().add(css);