last 24 hours: 0 added, 0 updated

Mouse

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

Mouse Review

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.

Downloads 2
Publisher
Date Added 5/25/2007 12:00:00 AM
Rating 4 stars Rate it !
License Free to Try
Download Size 542 KB
Screenshots Mouse screenshot
Operating System Windows 98,Windows NT,Windows 2000,Windows XP,Windows 2003,Windows Vista
 
 
Download Mouse Now

Keywords: mouse, java, getPointerInfo, position, co-ordinates, screen, location, mouse location, mouse positio

user reviews
  •  
add your own review
Your rating:
Review Title:
Review:
Your name:
Your email:
Enter the code shown: