Boutton quitter
This commit is contained in:
parent
70a214248d
commit
71b7a1cb2b
@ -66,7 +66,10 @@ public class MenuController implements Initializable{
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@FXML
|
||||||
|
public void quitterLappli(MouseEvent mouseEvent) throws IOException{
|
||||||
|
System.exit(0);
|
||||||
|
}
|
||||||
public void afficherRegle(MouseEvent mouseEvent) {
|
public void afficherRegle(MouseEvent mouseEvent) {
|
||||||
|
|
||||||
InputStream fileSound1 = getClass().getResourceAsStream("/ihm/ressources/musique/BEEP1.wav");
|
InputStream fileSound1 = getClass().getResourceAsStream("/ihm/ressources/musique/BEEP1.wav");
|
||||||
|
@ -40,6 +40,14 @@
|
|||||||
<Insets top="50.0" />
|
<Insets top="50.0" />
|
||||||
</VBox.margin>
|
</VBox.margin>
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button mnemonicParsing="false" onMouseClicked="#quitterLappli" prefHeight="48.0" prefWidth="108.0" styleClass="bouton" text="quitter">
|
||||||
|
<font>
|
||||||
|
<Font size="24.0" />
|
||||||
|
</font>
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets top="50.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
</Button>
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</VBox>
|
||||||
</children>
|
</children>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user