-fix bug bouton back to menu when play after game launching where game over

This commit is contained in:
2026-02-10 16:12:27 +01:00
parent 2721516b0b
commit c52547120b
2 changed files with 17 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ public class ZoneDessin extends JPanel {
public JButton btnRetour;
public ZoneDessin(){
// 1. IMPORTANT : Layout null pour positionner le bouton pixel par pixel
// Layout null pour positionner le bouton pixel par pixel
setLayout(null);
setPreferredSize(new Dimension(800, 600));
setBackground(new Color(100,100,100));