S
sasquatch
I am trying to use a MaskedFormatter in a JFormattedTextField to
disallow the user from entering anything but a number less than 4
digits long. To allow a 3 digit number, I can use "###" for the mask,
but how do I allow 3, 2 and 1 digit numbers? I.e. how do I make a mask
that allows *upto* 3 digits instead of exactly 3 digits?
Sasquatch
disallow the user from entering anything but a number less than 4
digits long. To allow a 3 digit number, I can use "###" for the mask,
but how do I allow 3, 2 and 1 digit numbers? I.e. how do I make a mask
that allows *upto* 3 digits instead of exactly 3 digits?
Sasquatch