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

Custom cursor does not handle transparent pixel correctly

XMLWordPrintable

    • sparc
    • solaris_2.6

      Creating a custom cursor from an image with transparent pixels does not behave correctly on Solaris. Works OK on Windows 95.

      Testing was done with JDK1.2 beta4 on both Solaris and Windows 95.

      Attached is a sample program. To demo the problem follow these steps:

      1. Run the program: "java CursorTest"
      2. The program creates both an icon and a custom cursor from
      an input gif file.
      3. Note that when running on Solaris the icon and cursor image
                 don't match. The icon image is correct, but the cursor is not.
      4. Also note that the program works correctly when running on
      Windows 95.

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: