package hellofx; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.stage.Stage; public class GUI002 extends Application { @Override public void start(Stage stg1) throws Exception { stg1.setTitle("GUI 002"); stg1.setScene(new Scene(new Button("Gooo!"), 200,100)); stg1.show(); Stage stg2 = new Stage(); stg2.setTitle("GUI 002"); stg2.setScene(new Scene(new Button("Steadyyy!"), 200,100)); stg2.show(); Stage stg3 = new Stage(); stg3.setTitle("GUI 002"); stg3.setScene(new Scene(new Button("Readyyy!"), 200,100)); stg3.show(); } public static void main(String[] args) { Application.launch(args); } }