Thread View: comp.lang.java.help
2 messages
2 total messages
Started by _mario.lat
Tue, 23 Sep 2003 20:20
how get mouse position in monitor (not in the window)?
Author: _mario.lat
Date: Tue, 23 Sep 2003 20:20
Date: Tue, 23 Sep 2003 20:20
6 lines
1851 bytes
1851 bytes
how get mouse position in monitor (not in the window)? I'd like to get the mouse position (x,y) in the monitor, not in windows. I'd like to write a preogram which save the mouse position every secons (while the user use the computer). How can I do? Thankyou in advance, Mario.
Re: how get mouse position in monitor (not in the window)?
Author: Tor Iver Wilhelmsen
Date: Wed, 24 Sep 2003 16:11
Date: Wed, 24 Sep 2003 16:11
6 lines
1826 bytes
1826 bytes
"_mario.lat" <mario.lat@libero.it> writes: > how get mouse position in monitor (not in the window)? Get the mouse position in the relevant component and have Java compute screen coordinates for you using SwingUtilities.convertPointToScreen().
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads