Skip to content
Snippets Groups Projects
Commit 11f4d77c authored by Salles Coralie's avatar Salles Coralie
Browse files

color label activation

parent 93c45de6
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,7 @@
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0" spacing="10.0" GridPane.halignment="CENTER" GridPane.rowIndex="3" GridPane.valignment="CENTER">
<children>
<Button fx:id="buttonBluetooth" mnemonicParsing="false" onAction="#clickActivationBluetooth" text="Activation bluetooth" />
<Label fx:id="activationMessage" text="Connection bluetooth désactivée" />
<Label fx:id="activationMessage" text="Connection bluetooth désactivée" textFill="#d20101" />
</children>
<GridPane.margin>
<Insets bottom="10.0" top="10.0" />
......
......@@ -152,6 +152,7 @@ public class FXMLVueController implements Initializable {
try {
bluetoothManager.startThread();
this.activationMessage.setText("Connection bluetooth activée");
this.activationMessage.setStyle("-fx-background-color: #7fca5eff");
this.buttonBluetooth.setDisable(true);
} catch (Exception ex) {
Logger.getLogger(FXMLVueController.class.getName()).log(Level.SEVERE, null, ex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment