Hi,
How can I put a limit to a text length, entered in a JTextField?
I know I can check the length of a text that was entered to the JTextField, but I want the user to not be able to enter a text longer than a maximum one (i.e. he won't be able to see the characters that he keyed after reaching that limit).
Start Free Trial