Hi,
Whats the simplest way i can set textfield to have no more then 12 charecters so that when someone enteres the 12th and tries to type the 13th, it will not type. I do not want to create a listener(preferably a method not a clas that has to be extended) but rather use some kind of setSize or setMaxLimit or something...but i do not see anything that is applicable..(preferable something compatible with the older types of
java aswell).
Thanks