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. Advertisements

  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. Advertisements

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. Kenneth

    Absolute position of datagrid

    Kenneth, Aug 29, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    2,463
    Vidar Petursson
    Aug 29, 2003
  2. =?Utf-8?B?S3VydCBTY2hyb2VkZXI=?=

    set absolute position on panel

    =?Utf-8?B?S3VydCBTY2hyb2VkZXI=?=, Mar 22, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    4,059
    Bruce Barker
    Mar 23, 2005
  3. Luqman
    Replies:
    1
    Views:
    834
    Luqman
    Feb 7, 2006
  4. Max
    Replies:
    7
    Views:
    9,413
  5. Desmond O'Toole

    position:absolute

    Desmond O'Toole, Sep 6, 2003, in forum: HTML
    Replies:
    0
    Views:
    497
    Desmond O'Toole
    Sep 6, 2003
  6. tom arnall
    Replies:
    6
    Views:
    1,687
    Ian Shef
    Jan 18, 2007
  7. James Byrne
    Replies:
    3
    Views:
    900
    James Byrne
    Sep 14, 2010
  8. James Black
    Replies:
    0
    Views:
    552
    James Black
    May 28, 2006
Loading...