From 4c9ce2c591953e7d497f5d3b794fa7e24d32444e Mon Sep 17 00:00:00 2001 From: Michael-Jouanneau Date: Sun, 30 Oct 2016 15:02:45 +0100 Subject: [PATCH] Chnaged things --- src/Launcher/Main.java | 6 ++---- src/Launcher/Main_Launcher.fxml | 6 ++---- src/assets/style/nav.css | 7 +++++++ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/Launcher/Main.java b/src/Launcher/Main.java index f95fa0a..fcd3029 100644 --- a/src/Launcher/Main.java +++ b/src/Launcher/Main.java @@ -19,15 +19,13 @@ public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception{ primaryStage.initStyle(StageStyle.UNDECORATED); - Parent root = FXMLLoader.load(getClass().getResource("sample.fxml")); + Parent root = FXMLLoader.load(getClass().getResource("Main_Launcher.fxml")); primaryStage.setTitle("Team-Avion Launcher [WIP]"); primaryStage.setScene(new Scene(root, 900, 500)); primaryStage.show(); - Desktop.getDesktop().browse(new URI("www.youtube.com")); - - root.lookup("#exit").setOnMouseClicked(event -> primaryStage.close()); + root.lookup("#min").setOnMouseClicked(event -> primaryStage.setIconified(true)); // Drag root.lookup("#rectangle").setOnMousePressed(event -> { diff --git a/src/Launcher/Main_Launcher.fxml b/src/Launcher/Main_Launcher.fxml index 57c4e7e..d5da987 100644 --- a/src/Launcher/Main_Launcher.fxml +++ b/src/Launcher/Main_Launcher.fxml @@ -2,9 +2,6 @@ - - - @@ -13,7 +10,8 @@