Re: mouseDragged() sensitivity?



"Rene Ruppert" <rene.ruppert@xxxxxxxxxxx> wrote in message
news:dm3vav$5pd$1@xxxxxxxxxxxx
> Hi,
>
> I wonder if there's a way to change the "sensitivity" of the
> mouseDragged() event. I mean, is there a chance to set the amount of
> pixels the user has to drag the mouse before the event is fired?

In Windows XP, you can set this "number of pixels" value in the Control
Panel which, to me, hints that the drag events may (on certain platforms)
originate from the OS as opposed to the JVM. If that's the case, I wouldn't
be surprised if you couldn't adjust this value in the name of platform
independence.

You might have to implementing mouse dragging manually (i.e. via
buttonDown and mouseMove events) if you want a custom sensitivity.

- Oliver


.


Quantcast