JTextField et affectation
Fermé
Paps@
-
20 sept. 2009 à 03:01
nabil07 Messages postés 140 Date d'inscription vendredi 14 septembre 2007 Statut Membre Dernière intervention 10 avril 2014 - 21 sept. 2009 à 15:51
nabil07 Messages postés 140 Date d'inscription vendredi 14 septembre 2007 Statut Membre Dernière intervention 10 avril 2014 - 21 sept. 2009 à 15:51
A voir également:
- JTextField et affectation
- Changer affectation touche clavier windows 10 ✓ - Forum Windows 10
- COMMENT changer les touches clavier ✓ - Forum Programmation
- Un appel de fonction dans la partie gauche de l'affectation doit renvoyer variant ou object - Forum VB / VBA
- Comment changer l'affectation de mes touches de clavier ✓ - Forum Windows
- Nombre d'arguments incorrect ou affectation de propriété incorrecte ✓ - Forum VB / VBA
2 réponses
nabil07
Messages postés
140
Date d'inscription
vendredi 14 septembre 2007
Statut
Membre
Dernière intervention
10 avril 2014
63
20 sept. 2009 à 03:09
20 sept. 2009 à 03:09
KONICHIWA,
la méthode setText() est déja implémentée dans la classe JTextField.
donc tu dois juste utiliser
la méthode setText() est déja implémentée dans la classe JTextField.
donc tu dois juste utiliser
mot.setText("");
nabil07
Messages postés
140
Date d'inscription
vendredi 14 septembre 2007
Statut
Membre
Dernière intervention
10 avril 2014
63
21 sept. 2009 à 15:51
21 sept. 2009 à 15:51
こんにちは,
la méthode setText() existe déjà, comme je t'ai dis l'autre fois,
mais tu peux définir ta propre comme suit:
sinon tu peux revoir un cours de java qui va mieux t'expliquer.
la méthode setText() existe déjà, comme je t'ai dis l'autre fois,
mais tu peux définir ta propre comme suit:
void setText(String matricule){
this.mot.setText(matricule);
}
sinon tu peux revoir un cours de java qui va mieux t'expliquer.
20 sept. 2009 à 10:54