diff --git a/CASE/paintMenuJeu.class b/CASE/paintMenuJeu.class index 5d64668..1bd21b8 100644 Binary files a/CASE/paintMenuJeu.class and b/CASE/paintMenuJeu.class differ diff --git a/CASE/paintMenuJeu.java b/CASE/paintMenuJeu.java index a05fd54..ab90593 100644 --- a/CASE/paintMenuJeu.java +++ b/CASE/paintMenuJeu.java @@ -93,9 +93,9 @@ public class paintMenuJeu extends JComponent{ if(this.choix==7){ if(this.survol==true){ secondPinceau.setColor(new Color(0,255,0)); - secondPinceau.fillRect(0, 0, this.getWidth()/16*5, this.getHeight()/16*5); + secondPinceau.fillRect(0, 0, this.getWidth(), this.getHeight()); } - secondPinceau.drawImage(this.replay, 0, 0, this.getWidth()/16*4, this.getHeight()/16*4 ,this); + secondPinceau.drawImage(this.replay, this.getWidth()/6, this.getHeight()/6, this.getWidth()/6*4, this.getHeight()/6*4 ,this); } } private void paintNombre(Graphics secondPinceau, int nombre){