Hi all, I am using a JFormattedTextfield and setting a Format with the constructor. my problem is i want to limit the charcters in my field too.I can limit the characters using JTexfield when i dunno use a JFormattedTextfield .I would like to get help that how should i limit number of charcters in a JFormattedTextfield. regards srijan
Thanks for the reply but the problem is i cannot use both maskformatter and a formatter on text field together.I mean when i make a textfield for decimal numbers it i need to use decimal format from numberformat which i need to set precision or other properties.So if i use decimal format with JFormattedtextfield then i cannot use a mask formatter as if set it using setFormatterfactory it does not show the desired effect as two things dunno work together.hope i made myself clear
When people don’t understand what you are doing they call you crazy. But this tiny ad just doesn't care:
a bit of art, as a gift, the permaculture playing cards