Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > absolute mouse position

Reply
Thread Tools

absolute mouse position

 
 
Poulpy
Guest
Posts: n/a
 
      06-30-2003
Hi,

I need to get the absolute mouse coordinates on screen, and not the
position on the current component as getPoint() returns...

I've searched across the net and found ~nothing

It's quite a missing feature isn't it ?

Thanks!
 
Reply With Quote
 
 
 
 
Wolf Martinus
Guest
Posts: n/a
 
      06-30-2003
Poulpy wrote:
> Hi,
>
> I need to get the absolute mouse coordinates on screen, and not the
> position on the current component as getPoint() returns...


SwingUtilities#convertPointToScreen(Point,Componen t)


Wolf

--
For a private reply to make sure to provide an
interesting subject line.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen Capture With Mouse , Mouse Position Capture Max Java 7 08-08-2009 11:51 PM
determine the mouse cursor position without mouse event tom arnall Java 6 01-18-2007 07:27 PM
Heres a mouse theres a mouse what a mouse do? unholy Gaming 37 09-17-2006 08:59 AM
detecting mouse click position in canvas tag has position off James Black Javascript 0 05-28-2006 03:27 AM
Where is Form Relative Position and Absolute Position in VS.Net 2005 ? Luqman ASP .Net 1 02-07-2006 10:27 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57