Gradle Setup

This commit is contained in:
DavidRavine
2022-10-14 14:50:54 +02:00
parent b947fce825
commit 870bd18c0f
14 changed files with 484 additions and 30 deletions
@@ -0,0 +1,23 @@
package ch.zhaw.gartenverwaltung;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.io.IOException;
public class HelloApplication extends Application {
@Override
public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 320, 240);
stage.setTitle("Hello!");
stage.setScene(scene);
stage.show();
}
public static void main(String[] args) {
launch();
}
}