In Java, allows you to find out where the mouse in on the screen, even when it is not over one of your apps. This has similar function to MouseInfo.getPointerInfo in Java 1.7+. This class will work in any version of Java. It uses JNI and a DLL, so it only works on Windows. You must install the nativemouse.dll somewhere on the path. Then your programs can find out the x and y position of the mouse, [(0,0 is the upper left of the screen] at any time by calling: Point p = com.mindprod.mouse.Mouse.getWhereMouseIsOnScreen() Java and C source included. You can test the program by typing: java -cp C:\ com.mindprod.mouse.Mouse Where C:\ in where you installed the com/mindprod/mouse directory. The nativemouse.32.dll on nativemouse.64.dll must be on the path, e.g. in the current directory. Check the system property java.library.path for a list of possible places to put the DLL. See http://mindprod.com/applet/wassup.html and http://mindprod.com/jgloss/properties.html This program requires modules from the Microsoft C++ Express 12 run time library. Normally they should be automatically statically included. However, if someone recompiled the JNI C++ code without the /MT option, this code will not work unless the vcredist_x86.exe Microsoft C++ Express 11 run time library is preinstalled. You can download it from Microsoft or CMP. http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en or http://mindprod.com/zips/vcredist_x86.exe The symptom of this problem is an UnsatisfiedLinkError or a side-by-side configuration error.