Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4697

Re: fighting over the scroller

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.gui
Subject Re: fighting over the scroller
Date 2011-09-20 23:21 -0700
Organization Canadian Mind Products
Message-ID <1c0j779arr138ua3kr50ed1ju8u5jm0of3@4ax.com> (permalink)
References <ucsh77pf9v4eoo7o8jjjoqrdt4ptjpg4fm@4ax.com> <nospam-30920C.19151020092011@news.aioe.org>

Show all headers | View raw


On Tue, 20 Sep 2011 19:15:10 -0400, "John B. Matthews"
<nospam@nospam.invalid> wrote, quoted or indirectly quoted someone who
said :

>This example highlights the effect. While it's easy to demonstrate 
>contention, say by simultaneously gesturing with the mouse and holding 
>down an arrow key, correct use of the EDT keeps events well-ordered.
>
><http://stackoverflow.com/questions/7201509>
>
>Is this a problem in practice?

The practical problem I notice is at
http://mindprod.com/applet/vercheck.html

Vercheck displays a scrollable table.  You can ask it to update each
row of the table by probing the corresponding web site in turn.  As it
goes it scrolls the table to keep the item it is working on in view.

However, sometimes you want to override this behaviour to take a look
at something off screen.  You scroll, but the program immediately
yanks you away.  I would like it to suppress programmatic scrolling
for X seconds since if you scrolled, presumably you are looking at
something and don't want it scrolled offscreen.

This desired behaviour is something I think JScrollPane should always
do, not just in Vercheck.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
It is a lot easier to combine things later that 
have been too finely categorised than to split 
things later whose are categories are too coarse.

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

fighting over the scroller Roedy Green <see_website@mindprod.com.invalid> - 2011-09-20 13:51 -0700
  Re: fighting over the scroller "John B. Matthews" <nospam@nospam.invalid> - 2011-09-20 19:15 -0400
    Re: fighting over the scroller Roedy Green <see_website@mindprod.com.invalid> - 2011-09-20 23:21 -0700
      Re: fighting over the scroller "John B. Matthews" <nospam@nospam.invalid> - 2011-09-22 13:41 -0400
        Re: fighting over the scroller Roedy Green <see_website@mindprod.com.invalid> - 2011-09-22 18:34 -0700
          Re: fighting over the scroller "John B. Matthews" <nospam@nospam.invalid> - 2011-09-22 23:26 -0400

csiph-web