diff --git a/pom.xml b/pom.xml
index 0d19601..ae435b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
3.2.3
natives-windows
- 16
+ 11
diff --git a/src/launcher/Launcher.java b/src/launcher/Launcher.java
index bf346f9..5710657 100644
--- a/src/launcher/Launcher.java
+++ b/src/launcher/Launcher.java
@@ -9,21 +9,26 @@
package launcher;
+import java.io.FileInputStream;
+
import javafx.application.Application;
-import javafx.scene.Group;
import javafx.scene.Parent;
import javafx.scene.Scene;
-import javafx.scene.shape.Circle;
import javafx.stage.Stage;
import javafx.fxml.*;
public class Launcher extends Application {
-
- Parent root = FXMLLoader.load("ui/main.fxml");
- Scene main = new Scene()
public void start(Stage primaryStage) throws Exception {
+ FileInputStream r_launcher = new FileInputStream("ui/launcher.fxml");
+ FXMLLoader floader = new FXMLLoader();
+ Parent root = floader.load(r_launcher);
+ Scene main = root.getScene();
+ primaryStage.setTitle("Boulevard Combattant");
+
+ primaryStage.setScene(main);
+ primaryStage.show();
}
}
diff --git a/ui/launcher.fxml b/ui/launcher.fxml
index f4b5d83..a843edc 100644
--- a/ui/launcher.fxml
+++ b/ui/launcher.fxml
@@ -45,7 +45,6 @@
-
@@ -69,7 +68,6 @@
-
@@ -81,7 +79,6 @@
-