I know how to find a mouse location inside a JavaJFrame - but is there any way to find the mouse location on the desktop (say in Windows xp) without being in a JFrame? With Toolbox you can find the resolution of the desktop. With the robot class I can move the mouse around - butI can't find a way to find the current location of the mouse. Any help? Thanks
Some night I'm going to answer a whole bunch of questions just by reading the subject line and not the actual note. Find the mouse by following the cord from the PC. It's out there on the end. Sorry, I'll go away now.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
The only time I have seen mouse position messages when the mouse is outside the Java controlled area is when a mouse_down occurred inside the area and the button stayed down when the mouse moved outside. I suspect that operating system specific native code would be required to get it otherwise. Basically, Java only gets mousemessages when the mouse is in the controlled area. Bill