mouseExited does not get called when mouse moves too fast

  • Follow


I read somewhere and have encountered for myself that mouseExited 
sometimes do not get called if the mouse moves too fast.  Is there a way 
to fix it?
0
Reply nobody 5/24/2005 1:13:05 AM

On Tue, 24 May 2005 09:13:05 +0800, - wrote:

> I read somewhere ...

Where precisely?

>...and have encountered for myself that mouseExited 
> sometimes do not get called if the mouse moves too fast.  

Code that displays this behaviour?
<http://www.physci.org/codes/sscce.jsp>

-- 
Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane
0
Reply Andrew 5/24/2005 1:30:59 AM


Andrew Thompson wrote:
> On Tue, 24 May 2005 09:13:05 +0800, - wrote:
> 
> 
>>I read somewhere ...
> 
> 
> Where precisely?

 From another poster's comment found at
http://groups.google.com.sg/group/comp.lang.java.programmer/browse_thread/thread/830fb70cbd6d8d68/3dc3cfde33a4efe7?q=mouseexited+fast&rnum=1&hl=en#3dc3cfde33a4efe7

<quote>
To reiterate, the problem is that the mouseExited signal is not always
getting delivered to a component when the mouse cursor exits the
component.  This is most apparent when the mouse is moved fast, but it
also does occur at slow speeds.
</quote>

> 
> 
>>...and have encountered for myself that mouseExited 
>>sometimes do not get called if the mouse moves too fast.  
> 
> 
> Code that displays this behaviour?
> <http://www.physci.org/codes/sscce.jsp>
> 
0
Reply nobody 5/24/2005 7:25:06 AM

On Tue, 24 May 2005 15:25:06 +0800, - wrote:

> Andrew Thompson wrote:
>> On Tue, 24 May 2005 09:13:05 +0800, - wrote:
>> 
>>>I read somewhere ...
>> 
>> Where precisely?
> 
>  From another poster's comment found at
> http://groups.google.com.sg/group/comp.lang.java.programmer/browse_thread/thread/830fb70cbd6d8d68/3dc3cfde33a4efe7?q=mouseexited+fast&rnum=1&hl=en#3dc3cfde33a4efe7
....
>> Code that displays this behaviour?

So the code shown on that thread does not work for you,
'here', and now?  

The reasons I ask are that ..
  - that thread was posted 5 years ago, about a particular 
     version of the Blackdown JRE for Linux.
  - The code shown there works fine for me using AppletViewer.

I could investigate further with a variety of browsers and JVMs,
but am not in a mood to do so until I hear more explicitly from you.
Does that code fail for you?  What Browser/Java Version are you using?

-- 
Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane
0
Reply Andrew 5/24/2005 8:01:31 AM

Hi Andrew,

Thanks for the kind gesture.  I am unable to produce a scaled down 
version based on my application to demonstrate the problem since there 
are several mouse and mousemotion listeners involved.  I will repost if 
the problem persists.
0
Reply nobody 5/25/2005 3:28:00 AM

4 Replies
338 Views

(page loaded in 0.1 seconds)

Similiar Articles:













7/26/2012 8:20:11 PM


Reply: