package hellofx; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.stage.Stage; public class GUI001 extends Application { @Override public void start(Stage stg) throws Exception { Button button = new Button("Readyyy!"); Scene scene = new Scene(button, 250, 100); stg.setTitle("GUI 001"); stg.setScene(scene); stg.show(); } public static void main(String[] args) { Application.launch(args); // this method launches JavaFX runtime and our JavaFX application } }