Solved

JTextArea maximum character

Posted on 2006-06-29
2
569 Views
Last Modified: 2012-06-21
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
0
Comment
Question by:bangviz
  • 2
2 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 20 total points
Comment Utility
0
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
:-)
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now