Solved

Making a java.awt.TextArea wrappable

Posted on 1997-09-26
3
378 Views
Last Modified: 2008-03-06
Has anyone done anything with the java.awt.TextArea to make it word wrap?  I am trying to find some tips on how to go about doing this.  Thanks.
0
Comment
Question by:cadillac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
kollegov earned 100 total points
ID: 1227543
Hm, look like only way is to override
all text content changing methods in textArea
and wrap it manually using getColumns()
and re-splitting rows, than call superclass methods.
0
 

Author Comment

by:cadillac
ID: 1227544
Do you know how to do this, or have you done this before?
0
 
LVL 4

Expert Comment

by:russgold
ID: 1227545
Umm, there is a *much* simpler way if you are using JDK 1.1.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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…
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 …
This video teaches viewers about errors in exception handling.
Suggested Courses

630 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