developvbdebut
Messages postés476Date d'inscriptionsamedi 14 août 2004StatutMembreDernière intervention 2 juin 2012
-
10 avril 2006 à 20:13
developvbdebut
Messages postés476Date d'inscriptionsamedi 14 août 2004StatutMembreDernière intervention 2 juin 2012
-
10 avril 2006 à 20:54
Bonsoir tout le monde
Je souhaiterai initialiser des bouton.
J'ignore comment faire car c'est dans une fonction.
Monnayeur.java:83: variable cafe might not have been initialized
if((cafe.equals("cafÚ") && sr==0) ||(cafelait.equals("cafÚ_au_lait") && sr==0)||
(chocolat.equals("chocolat") && sr==0)||(the.equals("the") && sr==0))
^
Monnayeur.java:83: variable cafelait might not have been initialized
if((cafe.equals("cafÚ") && sr==0) ||(cafelait.equals("cafÚ_au_lait") && sr==0)||
(chocolat.equals("chocolat") && sr==0)||(the.equals("the") && sr==0))
^
Monnayeur.java:83: variable chocolat might not have been initialized
if((cafe.equals("cafÚ") && sr==0) ||(cafelait.equals("cafÚ_au_lait") && sr==0)||
(chocolat.equals("chocolat") && sr==0)||(the.equals("the") && sr==0))
^
Monnayeur.java:83: variable the might not have been initialized
if((cafe.equals("cafÚ") && sr==0) ||(cafelait.equals("cafÚ_au_lait") && sr==0)||
(chocolat.equals("chocolat") && sr==0)||(the.equals("the") && sr==0))
^
Comment inititialiser des variable qui sont en faite des bouton.