From 5cd5d516c049cc923edc620bac2e0aa3c696e6c3 Mon Sep 17 00:00:00 2001 From: CyB3RC0nN0R Date: Thu, 26 Mar 2020 20:23:25 +0100 Subject: [PATCH] Prepare JavaFX integration * Added JavaFX and FXML dependencies to pom.xml and module-info.java * Added Startup Application * Added ChatScene with ChatSceneController --- pom.xml | 10 ++++++ src/main/java/envoy/client/ui/ChatScene.fxml | 27 +++++++++++++++ .../envoy/client/ui/ChatSceneController.java | 30 ++++++++++++++++ src/main/java/envoy/client/ui/Startup.java | 34 +++++++++++++++++++ src/main/java/module-info.java | 4 +++ 5 files changed, 105 insertions(+) create mode 100644 src/main/java/envoy/client/ui/ChatScene.fxml create mode 100644 src/main/java/envoy/client/ui/ChatSceneController.java create mode 100644 src/main/java/envoy/client/ui/Startup.java diff --git a/pom.xml b/pom.xml index 572b5ed..d036d0d 100644 --- a/pom.xml +++ b/pom.xml @@ -30,6 +30,16 @@ envoy-common develop-SNAPSHOT + + org.openjfx + javafx-controls + 11.0.2 + + + org.openjfx + javafx-fxml + 11.0.2 + diff --git a/src/main/java/envoy/client/ui/ChatScene.fxml b/src/main/java/envoy/client/ui/ChatScene.fxml new file mode 100644 index 0000000..f98aab5 --- /dev/null +++ b/src/main/java/envoy/client/ui/ChatScene.fxml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + +