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 root.setCenter(
new Label(
"Hello World!"));
18 primaryStage.setScene(
new Scene(root));
24 public static void main(String[] args) {