Skip to content
Snippets Groups Projects
Commit 6fca50f0 authored by Puissegur Alexis's avatar Puissegur Alexis
Browse files
parents 414f1277 1bb6f2e3
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" />
......
......@@ -154,6 +154,7 @@ public class FXMLVueController implements Initializable, Observer {
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