From 3d4bd6c8b40c315ed85e983996d8ae63002e8176 Mon Sep 17 00:00:00 2001 From: Michael-Jouanneau Date: Thu, 22 Dec 2016 18:18:41 +0100 Subject: [PATCH] Added things --- src/Launcher/Main.java | 6 +++--- src/assets/layout/settings_generic.fxml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Launcher/Main.java b/src/Launcher/Main.java index a3a2ac8..a337349 100644 --- a/src/Launcher/Main.java +++ b/src/Launcher/Main.java @@ -69,7 +69,7 @@ public class Main extends Application { private PasswordField Password_minecraft; Node activeTab, settings_activeTab; private Label dialog_changer; - private CheckBox RAM_Default, Minimized_window_minecraft_launch; + private CheckBox RAM_Default, Minimized_window_minecraft_launch, Close_window_minecraft_launch; private Slider RAM_slider; Async stringUpdater; @@ -224,11 +224,11 @@ public class Main extends Application { RAM_Default = (CheckBox) Minecraft_settings.lookup("#RAM-Default"); RAM_slider = (Slider) Minecraft_settings.lookup("#RAM-slider"); - Minimized_window_minecraft_launch = (CheckBox) Minecraft_settings.lookup("#Minimized_window_minecraft_launch"); + + // Default States for the General Settings RAM_slider.setDisable(true); RAM_Default.setSelected(true); - Minimized_window_minecraft_launch.setSelected(true); } }); diff --git a/src/assets/layout/settings_generic.fxml b/src/assets/layout/settings_generic.fxml index f559cd2..06611ef 100644 --- a/src/assets/layout/settings_generic.fxml +++ b/src/assets/layout/settings_generic.fxml @@ -31,12 +31,12 @@ - + - +