optimisation bouttons controle

This commit is contained in:
ROGER
2025-05-15 12:47:11 +02:00
parent 309eeea534
commit 9198a69bc1

View File

@@ -41,6 +41,12 @@ public class VueControle extends JPanel {
//PAUSE BUTTON & QUIT BUTTON
pauseButton = new JButton("PAUSE");
quitterButton = new JButton("QUITTER");
Dimension buttonSize = new Dimension(85, 30);
Insets margeBoutton = new Insets(2, 2, 2, 2);
pauseButton.setPreferredSize(buttonSize);
pauseButton.setMargin(margeBoutton);
quitterButton.setPreferredSize(buttonSize);
quitterButton.setMargin(margeBoutton);
JPanel boutonsPanel = new JPanel();
boutonsPanel.setLayout(new FlowLayout(FlowLayout.CENTER, 10, 0));
boutonsPanel.setOpaque(false);