On 1/23/2018 8:17 AM, Eric Douglas wrote:
> They appear to do the same thing, except you can't fire mouseClicked with touch events.
Pressed fires when the mouse button goes down, Released and
Clicked fire when it goes back up again. Try this:
Mouse onto listening component
Press a button
W-a-i-t
Release the button
... and note the time stamps on the various events. You can also
play around with multiple buttons, sliding the mouse onto the
listening component with a button already down, and so on -- I'm
sure a little experimentation will clarify things. (Disclaimer:
I have no clue about Swing/AWT and touch devices.)
--
eso...@comcast-dot-net.invalid
One thousand ninety-three days to go.