java - Allow only integers and decimal values in JFormattedTextField or JTextField in Swing -
how allow integers , decimal values in jformattedtextfield
or jtextfield
in java swing. i'm using intellij idea gui form designer - grid layout manager.
as automatically creates variable in class not able set mask formatter or numberformat
. how allow int , float numbers?
read swing tutorial on how use formatted textfields working examples.
Comments
Post a Comment