Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages
Started by Vander
Wed, 14 Sep 2005 09:01
Request Mouse Position
Author: Vander
Date: Wed, 14 Sep 2005 09:01
Date: Wed, 14 Sep 2005 09:01
5 lines
1118 bytes
1118 bytes
Is there a method to actively request (not by event listening) the current mouse position in a way that it is rendered in absolute screen addresses? Thanks!
Re: Request Mouse Position
Author: Lori M Olson [TeamB]
Date: Mon, 26 Sep 2005 00:15
Date: Mon, 26 Sep 2005 00:15
29 lines
1882 bytes
1882 bytes
Vander wrote:
> Is there a method to actively request (not by event listening) the
> current mouse position in a way that it is rendered in absolute screen
> addresses?
>
> Thanks!
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/MouseInfo.html#getPointerInfo()
MouseInfo.getPointerInfo().getLocation()
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
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