2 import javafx.application.Application;
3 import javafx.scene.Scene;
4 import javafx.scene.control.Label;
5 import javafx.scene.layout.BorderPane;
6 import javafx.stage.Stage;
15 public void start(Stage primaryStage) {
16 BorderPane root =
new BorderPane();
17 Label label =
new Label(
"Hello World!");
18 root.setCenter(label);
19 Scene scene =
new Scene(root);
20 primaryStage.setScene(scene);
26 public static void main(String[] args) {