Home » Web Developer » Java & JavaScript » Mouse 1.4

Mouse 1.4

In Java, allows you to find out where the mouse in on the screen

Developer:
Canadian Mind Products
License:
Freeware
OS:
Windows 98 / ME / 2000 / XP / 2003 / Vista
Requirements:
Requires Java 1.1+
Price:
Free
Price is subject to change at any time by the company
Date added:
4/1/2009
Last Update:
6/16/2007
User Rating:
Not yet rated.
Your Rating:
Download free trial ( Free full version | 602 KB )
Mouse 1.4 Publisher's description
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.5+.
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.dll must be on the path, e.g. in the current
directory. With JDK 1.5, the DLL can be in the jar, so long
as it has no package path.
Related downloads for Mouse
New release of Java & JavaScript
More products from Canadian Mind Products
  • MouseIni 1.2Windows *.ini file verifier, tidier and sorter.
  • MouseNetworkCam 1.6Java Applet to view a Webcam stream of JPG images
  • MouseEchoserver 1.3See what browsers and programs are sending to an HTTP Server.
  • MouseCMOSSave 4.6Check CMOS for corruption and automatically restore it.
  • MouseTransporter 1.4Lightweight Java classes to let you encrypt/sign/armour for secure transmission.