This is an old question written by imasud at [http://forums.sun.com/thread.jspa?forumID=3&threadID=140391]
I which I know the answer
In java, I have seen, mouse events are only triggered if we move mouse inside a container. But is it possible to catch a mouse event when mouse is not on our container? Example: - My java program is running. - I open notepad and drag mouse - Is it possible to send the event to my java program that mouse is dragged. I will really appreciate if any one can answer my question. Regards .
My eventual goal is to implement copy paste thingy offered in lunix enviornment. Like if I drag mouse on any text, it should get copied.