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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Imported:
              Indexed: