🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11888

Re: wordwrap in Text Area

#11888
From: Alex B. Humphreys
Date: Wed, 10 Mar 1999 00:00
27 lines
1398 bytes
Hm.  the setLineWrap(true) worked, but my JTextArea doesn't have a
setWrapStyleWord(true) method.  What does?  By any chance does
TextAreaControl?  Does it even have a setLineWrap() equivalent?

"Keith L. Musser" wrote:

> You also have to ensure that "setWrapStyleWord(boolean)" is set to true.
> (ie. word-wrap not character-wrap).
>
> Keith Musser
>
> Vasudevan Srinivasan wrote in message <36E5930D.DB35A859@netrisk.com>...
> >Hi,
> >use setLineWrap(boolean) method.
> >
> >Vasu
> >
> >Alex B. Humphreys wrote:
> >
> >> Is there a way to implement a word-wrap-like feature in either JTextArea
> >> or the AWT equivalent?  I was hoping it would be as easy as
> >> mytextarea.setWordWrap(true), but of course my head's in the clouds.
> >>
> >> Thanks.
> >>
> >> alex
> >
Technical Details
Message-ID: <36E6936E.7458568@sema4.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36E57C04.14AF82EA@sema4.com> <36E5930D.DB35A859@netrisk.com> <7c5138$i1813@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c2f2fd308cca071c
X-Google-Attributes: gid111d45,public
From: "Alex B. Humphreys" <ahumphreys@sema4.com>
Subject: Re: wordwrap in Text Area
Date: 1999/03/10
Message-ID: <36E6936E.7458568@sema4.com>
X-Deja-AN: 453420676
Content-Transfer-Encoding: 7bit
References: <36E57C04.14AF82EA@sema4.com> <36E5930D.DB35A859@netrisk.com> <7c5138$i1813@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Semaphore, Inc.
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing