optimisation bouttons controle
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user