List of usage examples for javafx.scene.paint Color LIGHTSTEELBLUE
Color LIGHTSTEELBLUE
To view the source code for javafx.scene.paint Color LIGHTSTEELBLUE.
Click Source Link
From source file:Main.java
@Override public void start(Stage stage) { final Group group = new Group(); Scene scene = new Scene(group, 300, 150); stage.setScene(scene);/* w w w . java 2 s. co m*/ stage.setTitle("Sample"); TabPane tabPane = new TabPane(); Tab tab = new Tab(); tab.setText("new tab"); tab.setContent(new Rectangle(200, 200, Color.LIGHTSTEELBLUE)); tabPane.getTabs().add(tab); tabPane.getTabs().add(new Tab()); group.getChildren().add(tabPane); stage.show(); }