Hello word

This commit is contained in:
Malte Schulze Hobeling 2022-11-16 08:39:41 +01:00
parent d7da985aa8
commit e23937c4f6

View File

@ -12,7 +12,7 @@ public class HelloApplication extends Application {
public void start(Stage stage) throws IOException { public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml")); FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 320, 240); Scene scene = new Scene(fxmlLoader.load(), 320, 240);
stage.setTitle("Hello!"); stage.setTitle("Hello World!");
stage.setScene(scene); stage.setScene(scene);
stage.show(); stage.show();
} }