J
John M
Hello,
how is it possible to enable only numbers input in a jFormattedTextField?
I use now this code:
JFormattedTextField jFormattedTextField1 = new JFormattedTextField(new
DecimalFormat());
But in this case user can enter any character and the decimal conversion
comes after leaving the cell.
I want that user can enter only digits.
Thanks!
how is it possible to enable only numbers input in a jFormattedTextField?
I use now this code:
JFormattedTextField jFormattedTextField1 = new JFormattedTextField(new
DecimalFormat());
But in this case user can enter any character and the decimal conversion
comes after leaving the cell.
I want that user can enter only digits.
Thanks!