This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes SYSTEM mouse events? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SYSTEM mouse events?" Watch "SYSTEM mouse events?" New topic

SYSTEM mouse events?

Panda Mima

Joined: Aug 04, 2006
Posts: 14
I have a GUI Java applet, which I want to be a desktop application also. Is there any way to handle mouse events ALL OVER THE SCREEN, but not only within your applet/Java window?
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

No - not in pure Java. You would have to use native code and JNI.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
subject: SYSTEM mouse events?