RFE : Provide API call in java.awt.Cursor to get cursor dimensions

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 6
    • Component/s: client-libs
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :
      There is no way to ask a Cursor obj it's dimensions.

      JUSTIFICATION :
      This is necessary to properly display a tooltip (custom) or other popup window that is not occluded by the mouse cursor.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Methods like this:

      public class Cursor implements java.io.Serializable {

      ...

      public Dimension getSize();
      public int getWidth();
      public int getHeight();

      ...
      }

      CUSTOMER SUBMITTED WORKAROUND :
      Currently, one can get an answer that may or may not be correct via Toolkit.getBestCursorSize()

            Assignee:
            Konstantin Voloshin (Inactive)
            Reporter:
            Andrei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: