Howto synthetisize double-clicks?

Roman Kennke roman at kennke.org
Tue Jun 7 03:32:33 PDT 2011


Hi Clemens,

> I wonder how to synthetisize double-click mouse events, I played with
> it for over a day, and I still can't seem to make it work.

I don't think you need to synthesize double clicks. IIRC, those only
matter for MOUSE_CLICKED events, which are generated by AWT anyway. The
backend only needs to care about MOUSE_PRESSED and MOUSE_RELEASED for
which the click count should always be 1. I might be wrong though...

We could sit together on IRC in the evening to figure it out if you
like.

Best regards, Roman






More information about the caciocavallo-dev mailing list