How can I prevent characters entering the textField on a JSpinner. Itried using NumberFormatter but, it stops the Delete button fromworking properly.I also tried writing my own editor but that doesn't work either!I have also wrote an IntegerDocument but it onlt works forJTextFields but not JFormattedTextField
How do I, in a JFormattedTextField with date format, control bad dates,Format (dd-mm-yyyy)Don't want dates like 45-56-2004