2 import javafx.application.Application;
3 import javafx.fxml.FXMLLoader;
4 import javafx.scene.Scene;
5 import javafx.scene.layout.Pane;
6 import javafx.stage.Stage;
16 public void start(Stage primaryStage) {
18 FXMLLoader ldr =
new FXMLLoader(getClass().getResource(
"HelloWorldView.fxml"));
19 final Pane root = (Pane)ldr.load();
22 Scene scene =
new Scene(root);
23 primaryStage.setScene(scene);
25 }
catch(Exception e) {
32 public static void main(String[] args) {