absolute mouse position

Discussion in 'Java' started by Poulpy, Jun 30, 2003.

  1. Poulpy

    Poulpy Guest

    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!
    Poulpy, Jun 30, 2003
    #1
    1. Advertising

  2. 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,Component)


    Wolf

    --
    For a private reply to make sure to provide an
    interesting subject line.
    Wolf Martinus, Jun 30, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luqman
    Replies:
    1
    Views:
    642
    Luqman
    Feb 7, 2006
  2. Max
    Replies:
    7
    Views:
    9,072
  3. tom arnall
    Replies:
    6
    Views:
    1,250
    Ian Shef
    Jan 18, 2007
  4. James Byrne
    Replies:
    3
    Views:
    536
    James Byrne
    Sep 14, 2010
  5. James Black
    Replies:
    0
    Views:
    382
    James Black
    May 28, 2006
Loading...

Share This Page