JtextField
Résolu/Fermé1 réponse
KX
Messages postés
16734
Date d'inscription
samedi 31 mai 2008
Statut
Modérateur
Dernière intervention
24 avril 2024
3 015
3 juil. 2016 à 11:16
3 juil. 2016 à 11:16
Bonjour,
Il faut convertir ton float en String :
Il faut convertir ton float en String :
float f = 42; String text = String.valueOf(f); JTextField field = new JTextField(text);
4 juil. 2016 à 01:21