Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6528140

Would like to know current mouse cursor in java.awt.PointerInfo

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • client-libs
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :
      Need to know the current mouse cursor (e.g. hourglass or pointer etc). java.awt.PointerInfo seems like a logical place for this, as the location is given from there.

      JUSTIFICATION :
      Working on VNC-like application, and need to know current mouse cursor to properly display to user what is happening with their mouse.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      public int getMouseCursor ();

      should return PointerInfo.HOURGLASS etc.
      ACTUAL -
      cannot determine current pointer currently

            dav Andrei Dmitriev (Inactive)
            ryeung Roger Yeung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: