🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JTextArea problem

#981
From: Tad Frysinger
Date: Fri, 06 Aug 2004 15:15
20 lines
1848 bytes
Alexei A. Akimov wrote:
> Dear expert,
> 
> I have a problem with JTextArea component. Suppose it is placed on a 
> JScrollPane and contains 20 or 30 lines of text. If I positin the caret 
> at the beginning of text and move it (using keyboard) down holding the 
> Shift button down then I make some selection in the text. The problem is 
> that the operation is very slow (program waits while the selection is 
> being repainted). If I seelct the same fragment using mouse it is not 
> slow. I use the default setting for the JTextArea component except 
> LineWrap property is set true. Any ideas?
> 
> Best regards,
> Alexei Akimov
> 
Which JDK are you using? I can create a JTextArea in a JSCrollPane using 
the 1.4.2_01-b06 JDK and I created 50 lines of text and did various 
keyboard based selections. Seemed pretty snappy to me...

Tad Frysinger (TeamB)
Technical Details
Message-ID: <4113a09a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!cyclone1.gnilink.net!gnilink.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4108e77b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,3ca3352f389bb44c
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 06 Aug 2004 09:15:39 -0600
From: Tad Frysinger <tadfrysinger@comcast.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: JTextArea problem
References: <4108e77b@newsgroups.borland.com>
In-Reply-To: <4108e77b@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 64.58.30.72
Message-ID: <4113a09a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1091805338 64.58.30.72 (6 Aug 2004 08:15:38 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!cyclone1.gnilink.net!gnilink.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail