|
Mouse 1.3
In Java, allows you to find out where the mouse in on the screen
|
|
|
| Mouse'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. |
| Mouse's Keywords |
|
mouse, java, screen, position, location, getPointerInfo, co-ordinates, mouse loc |
| Related Software | EditPlus: EditPlus Text and HTML Editor for Windows IconEdit2: IconEdit2 is a TrueColor Icon Editor for Windows. | | More Product By this Publisher | AmericanTax: Calculates American sales taxes state and district CanadianTax: Calculates Canadian sales taxes: GST HST and PST. Submitter: Submitter will submit your PAD *.xml program descriptor file to 17 websites. VerCheck: VerCheck checks websites for new versions of the software you use. JDisplay: JDisplay displays colorised program listings in web pages. TimeZones: Displays all the timezones on your machine supported by Java JarCheck: Check that class target versions are as expected in a Java jar. Replicator: The Replicator lets you distribute large numbers of files to many people. Quoter: Converts text with many possible cleanups and transformations. |
|
 |
| Top Searches |
| converter, file, image, free, copy, download, screen, web, photo, html, search, shareware, utility, server, time, network, rss, tools, create, personal, sound, script, java, Generator, conversion, business, asp, calendar, microsoft, maker |
| Software Development | | .NET & Java | | ActiveX | | Components & Libraries | | Database & Tools | | VB, C/C++ & Delphi | | Source Code & Editors | | HTML/XML/CSS Tools | | Install & Setup | | Website Administration | | Site Log Analysers | | Others | | Audio Video & Multimedia | | Security & Privacy | | System Utilities | | Business Software | | Graphic & Design | | Games & Entertainment | | Home & Education | | Network & Internet | | Desktop Enhancements |
| Top Downloads |
| BIT PullDown | | Javascript Menu Master | | Page Popup Maker | | Antechinus JavaScript Editor | | AllWebMenus Pro | | FileTransfer | | JavaScript Horizontal Image Slider Ex | | KeyPlayer | | 1st JavaScript Editor Lite 3.8 | | LinkedList | | CSVReader/Writer | | Mouse |  |
|