Added things

This commit is contained in:
Michael-Jouanneau 2016-12-22 18:09:18 +01:00
parent 0e269a5b64
commit 2ee18e62a0
5 changed files with 13 additions and 8 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;
private CheckBox RAM_Default, Minimized_window_minecraft_launch;
private Slider RAM_slider;
Async stringUpdater;
@ -220,10 +220,15 @@ public class Main extends Application {
});
});
RAM_Default = (CheckBox) Tabs.load("settings_minecraft").lookup("#RAM-Default");
RAM_slider = (Slider) Tabs.load("settings_minecraft").lookup("#RAM-slider");
Node Minecraft_settings = Tabs.load("settings_minecraft");
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");
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="lable" layoutX="35.0" layoutY="185.0" mnemonicParsing="false" text="Close Window when Mincraft Launches">
<CheckBox id="Close_window_minecraft_launch" 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="lable" layoutX="344.0" layoutY="185.0" mnemonicParsing="false" selected="true" text="Minimize Window when Minecraft Launches">
<CheckBox id="Minimized_window_minecraft_launch" layoutX="344.0" layoutY="185.0" mnemonicParsing="false" text="Minimize Window when Minecraft Launches">
<font>
<Font name="Century" size="15.0" />
</font>

View File

@ -57,7 +57,7 @@
-fx-text-fill: black;
}
#lable, #RAM-Default, #RAM-slider {
#lable, #RAM-Default, #RAM-slider, #Minimized_window_minecraft_launch, #Close_window_minecraft_launch {
-fx-text-fill: white;
}

View File

@ -57,7 +57,7 @@
-fx-text-fill: black;
}
#lable, #RAM-Default, #RAM-slider {
#lable, #RAM-Default, #RAM-slider, #Minimized_window_minecraft_launch, #Close_window_minecraft_launch {
-fx-text-fill: white;
}

View File

@ -57,7 +57,7 @@
-fx-text-fill: black;
}
#lable, #RAM-Default, #RAM-slider {
#lable, #RAM-Default, #RAM-slider, #Minimized_window_minecraft_launch, #Close_window_minecraft_launch {
-fx-text-fill: black;
}