@@ -0,0 +1,1283 @@
+/* Author: Luigi Vincent%0ASimple introductory %22Hello World%22 parallel application.%0AEnter the name and click the button (or press enter), to get a greeting.%0A*/%0A%0Aimport javafx.application.Application;%0Aimport javafx.scene.Scene;%0Aimport javafx.scene.control.Button;%0Aimport javafx.scene.control.Label;%0Aimport javafx.scene.control.TextField;%0Aimport javafx.scene.control.Tooltip;%0Aimport javafx.scene.layout.HBox;%0Aimport javafx.stage.Stage;%0A%0Apublic class Hello extends Application %7B%0A%09public static void main(String%5B%5D args) %7B%0A%09%09launch(args);%0A%09%7D%0A%0A%09@Override%0A%09public void start(Stage stage) %7B%0A%09%09TextField entry = new TextField();%0A%09%09entry.setPromptText(%22Enter your name%22);%0A%0A%09%09Button hello = new Button(%22Greeting%22);%0A%09%09hello.setOnAction(e -%3E %7B%0A%09%09%09stage.setScene(getGreeting(entry));%0A%09%09%09stage.sizeToScene();%0A%09%09%7D);%0A%09%09hello.setDefaultButton(true);%0A%09%09hello.setTooltip(new Tooltip(%22Click me!%22));%0A%0A%09%09HBox layout = new HBox();%0A%09%09layout.getChildren().addAll(entry, hello);%0A%0A%09%09stage.setScene(new Scene(layout));%0A%09%09stage.setTitle(%22Welcome to Java%22);%0A%0A%09%09stage.show();%0A%09%09hello.requestFocus();%0A%09%7D%0A%0A%09public Scene getGreeting(TextField entry) %7B%0A%09%09String name = entry.getText();%0A%09%09Label label = name.isEmpty() ? new Label(%22Hey camper!%22) : new Label(%22How's it going, %22 + name + %22?%22);%0A%09%09return new Scene(label);%0A%09%7D%0A%7D%0A

Create Hello.java