diff --git a/pom.xml b/pom.xml
index 3cb44f9..70095c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,6 +12,71 @@
21
21
UTF-8
+ 5.10.1
+
+
+ org.openjfx
+ javafx-controls
+ 21
+
+
+ org.openjfx
+ javafx-fxml
+ 21
+
+
+ org.kordamp.bootstrapfx
+ bootstrapfx-core
+ 0.4.0
+
+
+ org.junit.jupiter
+ junit-jupiter-api
+ ${junit.version}
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter-engine
+ ${junit.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.11.0
+
+
+ 21
+
+
+
+ org.openjfx
+ javafx-maven-plugin
+ 0.0.8
+
+
+
+ default-cli
+
+ de.hsfulda.uno/de.hsfulda.onses.HelloApplication
+ app
+ app
+ app
+ true
+ true
+ true
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/java/de/hsfulda/onses/Main.java b/src/main/java/de/hsfulda/onses/Main.java
index f43dbbb..fd78049 100644
--- a/src/main/java/de/hsfulda/onses/Main.java
+++ b/src/main/java/de/hsfulda/onses/Main.java
@@ -1,7 +1,10 @@
package de.hsfulda.onses;
+import de.hsfulda.onses.controllers.MainController;
+import javafx.application.Application;
+
public class Main {
public static void main(String[] args) {
- System.out.println("Hello world!");
+ Application.launch(MainController.class);
}
}
\ No newline at end of file
diff --git a/src/main/java/de/hsfulda/onses/controllers/MainController.java b/src/main/java/de/hsfulda/onses/controllers/MainController.java
new file mode 100644
index 0000000..ad84d77
--- /dev/null
+++ b/src/main/java/de/hsfulda/onses/controllers/MainController.java
@@ -0,0 +1,22 @@
+package de.hsfulda.onses.controllers;
+
+import de.hsfulda.onses.Main;
+import javafx.application.Application;
+import javafx.fxml.FXMLLoader;
+import javafx.scene.Parent;
+import javafx.scene.Scene;
+import javafx.stage.Stage;
+
+import java.io.IOException;
+import java.util.Objects;
+
+public class MainController extends Application {
+ @Override
+ public void start(Stage stage) throws IOException {
+ final Parent parent = FXMLLoader.load(Objects.requireNonNull(Main.class.getResource("views/main.fxml")));
+
+ stage.setTitle("Onses");
+ stage.setScene(new Scene(parent));
+ stage.show();
+ }
+}
diff --git a/src/main/resources/de/hsfulda/onses/views/main.fxml b/src/main/resources/de/hsfulda/onses/views/main.fxml
new file mode 100644
index 0000000..150a195
--- /dev/null
+++ b/src/main/resources/de/hsfulda/onses/views/main.fxml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+