Example usage for javafx.scene.paint Color LIGHTSTEELBLUE

List of usage examples for javafx.scene.paint Color LIGHTSTEELBLUE

Introduction

In this page you can find the example usage for javafx.scene.paint Color LIGHTSTEELBLUE.

Prototype

Color LIGHTSTEELBLUE

To view the source code for javafx.scene.paint Color LIGHTSTEELBLUE.

Click Source Link

Document

The color light steel blue with an RGB value of #B0C4DE

Usage

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();
}