with java awt.Robot, I can have a sequence of mouse movements. However, I do not know what I should do to stop before it finishes.
I was thinking a good way is to use a hotkey to interrupt. Can someone tell how to do that? More generall, how to set up a hotkey or global hotkey (even I was not very clear about this term).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.