🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: wordwrap in Text Area

#12025
From: Vasudevan Srinivasan
Date: Tue, 09 Mar 1999 00:00
14 lines
823 bytes
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: <36E5930D.DB35A859@netrisk.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36E57C04.14AF82EA@sema4.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: Vasudevan Srinivasan <vasudevan@netrisk.com>
Subject: Re: wordwrap in Text Area
Date: 1999/03/09
Message-ID: <36E5930D.DB35A859@netrisk.com>
X-Deja-AN: 453133595
Content-Transfer-Encoding: 7bit
References: <36E57C04.14AF82EA@sema4.com>
Content-Type: text/plain; charset=us-ascii
Organization: NetRisk Inc
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing