JFormattedTextField formatting problems
Hi All
Forgive me if this has been answered before as I could find no solution.
My problem is that I want to provide a formatted to allow the user enter some data. But the format can be one of two variations depending on what the fourth character is.
For example Valid text can be AA9 9AA or AA12 2AA. Basically the same format as a postcode. All I want to do is to make sure that the letters are all in uppercase.
I have tried various things with MaskFormatter and trying to change the mask after the fourth character has been entered, but with no luck.
Any pointers would be great.
Thanks
David

