Link to home
Start Free TrialLog in
Avatar of bangviz
bangviz

asked on

JTextArea maximum character

Hi,

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.

Thanks
bangviz
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
:-)