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 Mouse
Info.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.
Mouse 1.5 Website - Mouse 1.5