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

Please allow Toolkit.createCustomCursor() to accept multi-frame images

    XMLWordPrintable

    Details

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

      Description



      Name: rmT116609 Date: 10/17/2003


      A DESCRIPTION OF THE REQUEST :
      AWT/Swing should support animated cursors. It should be possible to create custom animated cursors.

      JUSTIFICATION :
      In todays modern desktop environments, animated cursors are very common. Unfortunately, the createCustomCursor does not accept multi-frame images, so it is not possible to create animated custom cursors in AWT/Swing. To support the acceptance of Java on the desktop, this should be made possible. Custom animated cursors are necessary for some special kind of applications, e. g. in machine controlling, where the animation could show not only that a process is running (as hourglass cursors do) but also WHAT process is running (by selection of the kind of animation).

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
        Toolkit.createAnimatedCursor should support animated Images (multi-frame Image).
      ACTUAL -
        Toolkit.createAnimatedCursor does not support animated Images (multi-frame Image).

      ---------- BEGIN SOURCE ----------
      Since J2SE doesn't support this, there cannot be any kind of test.
      ---------- END SOURCE ----------


      (Incident Review ID: 208515)
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Imported:
              Indexed: