From 296a8aff49c2fa7892acae25387e6325e75241d2 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Sun, 30 Oct 2016 15:47:01 +0100 Subject: [PATCH] Moved layouts --- src/Launcher/Main.java | 2 +- src/{Launcher => assets/layout}/Main_Launcher.fxml | 6 +++--- src/{Launcher => assets/layout}/sample.fxml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/{Launcher => assets/layout}/Main_Launcher.fxml (86%) rename src/{Launcher => assets/layout}/sample.fxml (92%) diff --git a/src/Launcher/Main.java b/src/Launcher/Main.java index 6d94d52..08c4a28 100644 --- a/src/Launcher/Main.java +++ b/src/Launcher/Main.java @@ -29,7 +29,7 @@ public class Main extends Application { public void start(Stage primaryStage) throws Exception{ primaryStage.initStyle(StageStyle.UNDECORATED); - Parent root = FXMLLoader.load(getClass().getResource("Main_Launcher.fxml")); + Parent root = FXMLLoader.load(getClass().getResource("../assets/layout/Main_Launcher.fxml")); primaryStage.setTitle("Team-Avion Launcher [WIP]"); primaryStage.setScene(new Scene(root, 900, 500)); primaryStage.show(); diff --git a/src/Launcher/Main_Launcher.fxml b/src/assets/layout/Main_Launcher.fxml similarity index 86% rename from src/Launcher/Main_Launcher.fxml rename to src/assets/layout/Main_Launcher.fxml index 20780bc..3635ebb 100644 --- a/src/Launcher/Main_Launcher.fxml +++ b/src/assets/layout/Main_Launcher.fxml @@ -6,11 +6,11 @@ - + -