Article View: borland.public.jbuilder.java.swing
Article #826JTextArea problem
From: Alexei A. Akimov
Date: Thu, 29 Jul 2004 12:10
Date: Thu, 29 Jul 2004 12:10
13 lines
1494 bytes
1494 bytes
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
Technical Details
Message-ID:
<4108e77b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 111d45,3ca3352f389bb44c,start X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 29 Jul 2004 16:10:19 +0400 From: "Alexei A. Akimov" <a.a.akimov@mail.ru> Reply-To: a.a.akimov@mail.ru User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030426 X-Accept-Language: ru-ru, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: JTextArea problem Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 62.105.157.79 Message-ID: <4108e77b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1091102587 62.105.157.79 (29 Jul 2004 05:03:07 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail