diff --git a/Case.java b/Case.java index 01b43af..62876e8 100644 --- a/Case.java +++ b/Case.java @@ -27,7 +27,6 @@ public class Case extends JComponent { Color rose = new Color(236, 0, 140); this.panel.setBackground(rose); } else if (this.entourage>0){ - System.out.println(""+ this.entourage); this.panel.add(new Chiffre(entourage,caseSize)); } } diff --git a/Chiffre.java b/Chiffre.java index 4ed2c11..b70db3b 100644 --- a/Chiffre.java +++ b/Chiffre.java @@ -17,6 +17,5 @@ public class Chiffre extends JComponent { Color jaune = new Color(236, 214, 0); chiffre.setColor(jaune); chiffre.drawString(Integer.toString(this.entourage),caseSize.width*2/5,caseSize.height*3/5); - System.out.println(""+caseSize); } } diff --git a/Grille.java b/Grille.java index 9d66dbd..9c23631 100644 --- a/Grille.java +++ b/Grille.java @@ -42,12 +42,6 @@ public class Grille extends JComponent { } } } - - // Affichage console des emplacements des mines - for (int i=0;ilignes*colonnes-colonnes){ // Vérifier la condition + for (int j=0;j