import javafx.application.Application;
import javafx.application.Platform;
import javafx.scene.layout.VBox;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.stage.Stage;

public class SimpleLCDText extends Application {

    @Override public void start(final Stage stage) {
        System.err.println("java.version = " + System.getProperty("java.version"));
        System.err.println("javafx.version = " + System.getProperty("javafx.version"));
        stage.setTitle("Simple LCD Text");

        VBox root = new VBox(10);
        root.setStyle("-fx-background: white");

        Scene scene = new Scene(root, 800, 500);

        final Label label0 = new Label("The quick brown fox jumps over the lazy dog");
        label0.setStyle("-fx-font-size: 10");

        final Label label1 = new Label("The quick brown fox jumps over the lazy dog");

        final Label label2 = new Label("The quick brown fox jumps over the lazy dog");
        label2.setStyle("-fx-font-size: 16");

        final Label label3 = new Label("The quick brown fox jumps over the lazy dog");
        label3.setStyle("-fx-font-size: 24");

        root.getChildren().addAll(label0, label1, label2, label3);

        stage.setScene(scene);
        stage.show();
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Application.launch(args);
    }
}
