Ajoute de l'arret de la musique en fin de partie + arret propre de l'ordonanceur

This commit is contained in:
ROGER
2025-05-16 17:10:15 +02:00
parent 2fec9fc96e
commit 27862eb3cd
8 changed files with 56 additions and 52 deletions

View File

@@ -33,8 +33,6 @@ public class VueBandeauControle extends JPanel {
// NEXT PIECE
nextPiecePanel = new JPanel();
// nextPiecePanel.setPreferredSize(new Dimension(100, 100));
// nextPiecePanel.setMaximumSize(new Dimension(100, 100));
nextPiecePanel.setBackground(Color.LIGHT_GRAY);
nextPiecePanel.setAlignmentX(Component.CENTER_ALIGNMENT);
initierNextPiecePanel();
@@ -44,9 +42,9 @@ public class VueBandeauControle extends JPanel {
quitterButton = new JButton("QUITTER");
Dimension buttonSize = new Dimension(85, 30);
Insets margeBoutton = new Insets(2, 2, 2, 2);
// pauseButton.setPreferredSize(buttonSize);
pauseButton.setPreferredSize(buttonSize);
pauseButton.setMargin(margeBoutton);
// quitterButton.setPreferredSize(buttonSize);
quitterButton.setPreferredSize(buttonSize);
quitterButton.setMargin(margeBoutton);
JPanel boutonsPanel = new JPanel();
boutonsPanel.setLayout(new FlowLayout(FlowLayout.CENTER, 10, 0));