         Button btn = new Button();         btn.setText("Say 'Hello World'");         btn.setOnAction(new EventHandler<ActionEvent>() {              @Override             public void handle(ActionEvent event) {                 System.out.println("Hello World!");             }         });          StackPane root = new StackPane();         root.getChildren().add