Java Swing - JFormattedTextField -
i have jformattedtextfield s in form. want validate length , characters beingness inserted in field.
e.g firstname must not allow length more 20 characters , should not allow special , numeric characters beingness inserted. space can considered.
please help me how can accomplish goal.
i want validate length , characters beingness inserted in field.
use maskformatter
jformattedtextfield
. maskformatter can:
read api more info , examples.
java swing validation jformattedtextfield
No comments:
Post a Comment