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

BackGround color is not set properly for AWT components on Win32-256 color bit d

XMLWordPrintable

    • x86
    • generic

      When BackgroundColor is set for components other than Canvas and Panel
      a different color other than the one set is shown. The problem occurs only for two colors java.awt.Color.pink and java.awt.Color.orange.
           platform : Win32
           Screen Resolution : 256 Colors ,any screen area
          
        Observed
        behaviour : When the testprogram is run the colors are seen as follows.
            In Kestrel (JDK1.3.0-C), resoultion 256 colors. (Win32)
            (colors seen in case of components other than Panel and Canvas)
              pink -->seen as gray
              orange --> seen as yellow
              In case of Panel and Canvas it is normal
            In Merlin (JDK1.4-b19) (seen for all the components)
              pink -->seen as gray
      orange --> seen as yellow
       
      Update:
      This Bug is reproduced on all Win32 platforms when bit depth is set to 256 colors.

            rraysunw Richard Ray (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: