MaskFormater Unhandled ParseException
Bonjour, je voudrais faire un JFormatedTeaxtfield. J'ai donc consulter la FAQ(http://java.developpez.com/faq/gui/?page=awtSwingTexte) et fait pareil cependant j'obtient une erreur avant la compilation
Voici mon code :
Code:
1 2 3 4 5 6 7 8 9 10
|
try
{
MaskFormatter mask = new MaskFormatter("**********");
JFormattedTextField noteField = new JFormattedTextField(mask);
}
catch (ParseException e)
{
} |
Et j'ai l'erreu Unhandled ParseException sur new MaskFormatter("**********");
Merci de votre aide