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

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

XMLWordPrintable

    • 1.1beta3
    • x86
    • windows_95
    • Not verified

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: