Added things

This commit is contained in:
Michael-Jouanneau 2016-12-22 18:18:41 +01:00
parent 2ee18e62a0
commit 3d4bd6c8b4
2 changed files with 5 additions and 5 deletions

View File

@ -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);
}
});

View File

@ -31,12 +31,12 @@
<Font name="Century" size="15.0" />
</font>
</CheckBox>
<CheckBox id="Close_window_minecraft_launch" layoutX="35.0" layoutY="185.0" mnemonicParsing="false" text="Close Window when Mincraft Launches">
<CheckBox id="Close_window_minecraft_launch" disable="true" layoutX="35.0" layoutY="185.0" mnemonicParsing="false" text="Close Window when Mincraft Launches">
<font>
<Font name="Century" size="15.0" />
</font>
</CheckBox>
<CheckBox id="Minimized_window_minecraft_launch" layoutX="344.0" layoutY="185.0" mnemonicParsing="false" text="Minimize Window when Minecraft Launches">
<CheckBox id="Minimized_window_minecraft_launch" layoutX="344.0" layoutY="185.0" mnemonicParsing="false" selected="true" text="Minimize Window when Minecraft Launches">
<font>
<Font name="Century" size="15.0" />
</font>