🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Word Wrap in a JTextCompnent..

#9213
From: Jacob
Date: Sun, 14 May 2000 00:00
42 lines
1989 bytes
As far as I can see, there isn't a lineWrap property in either the
JTextComponent, JEditorPane or JTextPane.

Thanks for any help,

Jacob

"Paul Furbacher [TeamB]" <pnf@home.com> wrote in message
news:391B24ED.233F9323@home.com...
> Jacob,
>
> Pleae do NOT cross-post or multi-post the same message!  This
> message, and variants of it have appeared on just about every
> newsgroup I've looked at in the past 15 minutes.  Send a single
> message to a single, most appropriate newsgroup.  And be willing
> to wait patiently for a response.
>
> We heard you.  Just because you don't get an immediate answer
> doesn't mean that no one has seen this message.  Currently,
> I'm thinking of a reply, but don't have a good one (see below
> for some ideas).
>
> > I am sorry if this appears more than once. I tried to post this before,
but
> > it didn't show up. This will be the last repeat.
> >
> > I am trying to get rid of Word wrap in either a JEditorPane or
JTextPane. In
> > other words, I am putting the JTextPane/JEditorPane in a JScrollPane and
i
> > would like to have the horizontal scrollbar show up automatically.
>
> Did you set the "lineWrap" property of the text component
> to false?
>
> In another message you mentioned flickering.  Given Swing's
> general problems with painting, you may have to live with
> that -- unless someone else knows a way around it in this
> case.
>
>
> Paul Furbacher (TeamB)
Technical Details
Message-ID: <391f1c76@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3919cf42@dnews> <391B24ED.233F9323@home.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,a50bddc2e8e6dfde
X-Google-Attributes: gid111d45,public
From: "Jacob" <jacobl@nospam.com>
Subject: Re: Word Wrap in a JTextCompnent..
Date: 2000/05/14
Message-ID: <391f1c76@dnews>
X-Deja-AN: 623383337
References: <3919cf42@dnews> <391B24ED.233F9323@home.com>
X-Trace: 14 May 2000 14:36:54 -0800, 208.30.171.29
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600