File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Soft Skills this week in the Jobs Discussion 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.
It is sorta covered in the JavaRanch Style Guide.
subject: SYSTEM mouse events?