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

Win32: getBackground() doesn't copy right palette for all color combinations

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1beta3
    • CPU:
      x86
    • OS:
      windows_95
    • Verification:
      Not verified

      Description

      On Windows platforms, our background color is selected correctly in most cases. However, if you set the background to the same dark blue color found in the Clock demo, then launch that same clock demo, the clock demo background is in fact red.
      If you pick a certain light grey color, the background is grey but the color drawn by getBackground() is a light blue ( cyan ) color.
      For most color settings, our implementation works, but I'm unsure what would happen with different combinations, especially where the applet uses other colors; it sounds like we aren't copying the first 20 palette entries correctly in all cases.

        Attachments

          Activity

            People

            Assignee:
            tballsunw Tom Ball (Inactive)
            Reporter:
            bhagen Benjamin Hagen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: