Getting Started with JavaFX - dummies

Getting Started with JavaFX

By Doug Lowe

Part of JavaFX For Dummies Cheat Sheet

The start method is the heart of any JavaFX application. This method is called when the application is loaded, and a reference to the application’s primary Stage is passed as a parameter. The start method creates the Scene object and displays it in the stage.

@Override public void start(Stage primaryStage)
    Group root = new Group(); 
    Scene scene = new Scene(root, 300, 250);
    primaryStage.setTitle("The Click Me App");;