🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problem with JScrollPane

#9603
From: Martin Cote
Date: Thu, 17 Feb 2000 00:00
28 lines
1440 bytes
Hi,

I've got a JScrollPane with components in it that takes a lot of time to
redraw.

My problem is that when the user click on a scroll bar to scroll, if he
remains click on the scrollbar arrow (lets say, the down arrow) for to long,
the scroll events seem to stack, because the components in the scroll pane
aren't refreshing fast enough.

The bad effect of this is that when the user stop clicking on the scrollbar
arrow, the scrollview keeps scrolling down for a while.

The thing is that if the user has a very slow computer, the scrollview can
scroll down for a long period of time because it stacked a lot of clicks
events on the scroll bar....

Does someone knows how to fix this?

Also, could you, reply to this message to my personal email adress also? i'm
not used to use newsgroups and i'd be sad to miss the answer, if there is
any...

--
Martin Cote
Programmer
Hypershell inc
mcote@hypershell.qc.ca
Technical Details
Message-ID: <88hhad$obv7@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,f88b08233e1a20ce,start
X-Google-Attributes: gid111d45,public
From: "Martin Cote" <mcote@hypershell.qc.ca>
Subject: Problem with JScrollPane
Date: 2000/02/17
Message-ID: <88hhad$obv7@bornews.borland.com>
X-Deja-AN: 587038851
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing