Solved

Making a java.awt.TextArea wrappable

Posted on 1997-09-26
3
374 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Desingning Refactoring existing code 2 45
mysql jsp example issue 32 96
swing controls 2 37
jsp CRUD operations with and without prepared statement also hibernatge 1 50
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

739 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