JTextArea maximum character
Posted on 2006-06-29
Can anyone advice how do I set the maximum character within the
javax.swing.JTextArea.This been my input field I basically
want to restrict from entering character beyond 100.
I tried JTextArea (5,20). But I could not achieve the objective.
Is there any explicit way of restricting the character limit.
Please provide an example.