Thursday, June 5, 2003 05:33 AM
I don't know of a class that would do exactly what you are looking for.
But, if you are using JDK 1.4 or higher you might want to take a look at the MaskFormatter class. You can use this class with the
JFormattedTextField class to control/validate the input a
user is typing into a text field.