W
wolfgang wagner
hi
im trying to restrict user input in a JFormattedTextField. the user should
only be allowed to input numbers in a special format. for this purpose i use
a MaskFormatter. this works perfect, but my problem is that if i set a
MaskFormatter to ###.## $ it only accepts a three dot 2 digit number. but
what to do if i also want to allow ##.# $ ???? schould i add another
MaskFormatter to the TextFiled? or is there another possibility?? an example
would be helpful.
thx in advance
wolfgang
im trying to restrict user input in a JFormattedTextField. the user should
only be allowed to input numbers in a special format. for this purpose i use
a MaskFormatter. this works perfect, but my problem is that if i set a
MaskFormatter to ###.## $ it only accepts a three dot 2 digit number. but
what to do if i also want to allow ##.# $ ???? schould i add another
MaskFormatter to the TextFiled? or is there another possibility?? an example
would be helpful.
thx in advance
wolfgang