document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. //Button example
  2. Button btn4 = new Button();
  3. btn4.setText("Button4");
  4. vb.getChildren().add(btn4);
  5.  
  6. //Adding VBox to the scene
  7. Scene scene = new Scene(vb);
  8. primaryStage.setScene(scene);
  9. primaryStage.show();
');