JFormattedTextField and Currency
I am lookingfor a way with either a Jformattedtextfield or just a regular textfield to apply a mask to allow someone to enter an amount of cash exmples are 123.45, 12.34, 1.23 this means it allows a maximum of three digits but a minimum of 1 digit before the . and then only two after the . but the user does not need to enter the dot themselves.
can i do this with a JFormattedTextField or a normal TextField or would i have to write a seperate method to control this but have a mask with just a dot in it.
Thank you in advance
Re: JFormattedTextField and Currency
Moved from 'New to Java'