Re: mouseDragged() sensitivity?
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Thu, 24 Nov 2005 18:08:22 GMT
"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
.
- Follow-Ups:
- Re: mouseDragged() sensitivity?
- From: Rene Ruppert
- Re: mouseDragged() sensitivity?
- References:
- mouseDragged() sensitivity?
- From: Rene Ruppert
- mouseDragged() sensitivity?
- Prev by Date: JTree visible event?
- Next by Date: Re: JComboBox cell renderer doesn't render the top item
- Previous by thread: mouseDragged() sensitivity?
- Next by thread: Re: mouseDragged() sensitivity?
- Index(es):