Article View: borland.public.jbuilder.java.swing
Article #9202Re: Word Wrap in a JTextCompnent..
From: Paul Furbacher [TeamB]
Date: Thu, 11 May 2000 00:00
Date: Thu, 11 May 2000 00:00
30 lines
1726 bytes
1726 bytes
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:
<391B24ED.233F9323@home.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3919cf42@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a50bddc2e8e6dfde X-Google-Attributes: gid111d45,public From: "Paul Furbacher [TeamB]" <pnf@home.com> Subject: Re: Word Wrap in a JTextCompnent.. Date: 2000/05/11 Message-ID: <391B24ED.233F9323@home.com> X-Deja-AN: 622286807 Content-Transfer-Encoding: 7bit References: <3919cf42@dnews> X-Accept-Language: en,pdf Content-Type: text/plain; charset=us-ascii Organization: Reverse Alchemy, Inc. Mime-Version: 1.0 Reply-To: pnf@home.com Newsgroups: borland.public.jbuilder.java.swing