How can I limit the length of a text field..
I want allow entering specific number of characters in the text field??
Is there a constructor... I couldn't find 1..
plz help...
How can I limit the length of a text field..
I want allow entering specific number of characters in the text field??
Is there a constructor... I couldn't find 1..
plz help...
Your question has been asked and answered around a thousand times online. If you want the exact code, find it on google. Otherwise read this, it explains the answer.
http://java.sun.com/docs/books/tutorial/uiswing/components/textfield.html
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.