mouse double click problem



Hi,

The u/i of my Java application has the following problem.
Inside a panel a mouse double click causes a popup of another window. In
that window there is a JList with some items. One of these items must be
selected based on a previous selection. However, if the mouse is positioned
such that it covers the JList, then the item at the mouse pointer becomes
erroneously selected. Probably, due to the second click of the mouse. I
tried to consume() the current mouseEvent, but no success.
Is there a way to clear all pending mouseEvents?
Or does somebody know another solution?

Thanks,
Tis Veugen


.



Relevant Pages

  • Over-persistant info-tips in D6 CHB
    ... and move the mouse outside the window. ... I get a popup into tip even though the mouse is nowhere nearby. ... If I now use the arrow keys to navigate back up the list, every selection ... really switch to using D6. ...
    (comp.lang.smalltalk.dolphin)
  • datetime popup in asp.net 2.0
    ... I dont know if this got easier in 2.0 or not, I always wanted to add a popup ... window for date selection when you clicked a calendar icon, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Iceweasel freezes and iceape vulnerabilities and instability
    ... popup is fixed in place within the browser window, ... the browser is doing its job; it is just possible to do some really ... Funny you mention this -- I don't think this is due to malicious code, ...
    (Debian-User)
  • Re: From KDE to GNOME. Experiences, suggestions and comments
    ... In GNOME I had to first download the pics to the local machine, ... to unmount the device from there either. ... and it displays a window. ... Primary selection is not the clipboard. ...
    (GNOME)
  • Re: Explorer weirdness
    ... Shift-click selection behavior is buggy. ... Dragging a file from window A to window B sometimes hangs both ... Explorer recovers from these in maybe 10-20 seconds, ...
    (microsoft.public.windowsxp.general)