🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: wordwrap in Text Area

#11886
From: Keith L. Musser
Date: Wed, 10 Mar 1999 00:00
21 lines
1056 bytes
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: <7c5138$i1813@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36E57C04.14AF82EA@sema4.com> <36E5930D.DB35A859@netrisk.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: "Keith L. Musser" <kmusser@idisys.com>
Subject: Re: wordwrap in Text Area
Date: 1999/03/10
Message-ID: <7c5138$i1813@forums.borland.com>
X-Deja-AN: 453285401
References: <36E57C04.14AF82EA@sema4.com> <36E5930D.DB35A859@netrisk.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing