1 pièce(s) jointe(s)
erreur cannot find symbole
Bonjour à tous,
Voila j'essaie de programmer un convertisseur euro/livre et vice-versa en graphique.
Seulement, le probleme est que j'ai une erreur au niveau des JTextArea où l'utilisateur entre les montants qu'il veut convertir.
Voici mes erreurs :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| Convert.java:35: cannot find symbol
symbol : variable champ1
location: class Convert
double valeur = Double.parseDouble(champ1.getText());
^
Convert.java:37: cannot find symbol
symbol : variable champ2
location: class Convert
champ2.setText(valeur+"");
^
Convert.java:39: cannot find symbol
symbol : variable champ2
location: class Convert
double valeur = Double.parseDouble(champ2.getText());
^
Convert.java:41: cannot find symbol
symbol : variable champ1
location: class Convert
champ1.setText(valeur+" |
Merci de votre aide à tous