Software        
 
     Search Software    

Mouse 1.4 - Find mouse screen position in Java.

Find mouse screen position in Java.

Mouse



 

Mouse: 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.

What is new in version 1.4:

fix problem with Microsoft C++ runtime library




 

Order:

For Free

Download: Download Mouse 1.4 (0.5 Mb)
Download Count:15
Release Date:1969-12-31
Last Updated:1969-12-31
Manufacturer: Canadian Mind Products
Product Support: Mouse WebSite
  
Language:English
Requirements:Requires Java 1.1+
Install:No Install Support
Tags:

location 2 3 4 5 6 7      getpointerinfo  mouse position 2      position 2 3 4 5      java 2 3 4 5 6 7 8 9 10      co ordinates  mouse location 2      screen 2 3 4 5 6 7 8 9 10      mouse 2 3 4 5 6     


 

Soft411: Software Download Archive and Directory

© 2003-2009 Soft411.com Directory.

Soft411.com periodically updates pricing and product information from third-party sources,
so some information may be slightly out-of-date. You should confirm all information before relying on it.