I have created a JFormattedTextField using a NumberFormatter as the format. I can enter values and it keeps me from going too high or low and always entering numeric data. The problem I have is once I enter data, I can't just backspace over all of it. It always makes me leave one digit in the field. I can highlite the digit and type in new data, but I can't make the field completely blank. Is there a way for me to do this?
I meet the same problem, but have unfortunately no solution. However, I read that there is at least one bug in JFormattedTextField
Although its description has nothing to do with our case but cuts the last character instead, maybe there are still unobserved side effects.