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

Ugly Stippling - win32, 8 bit colour, non-standard colour scheme

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.2
    • client-libs
    • 2d
    • x86
    • windows_98, windows_nt



      Name: skT88420 Date: 06/03/99


      I believe this problem may also be reproduced on win95 and other
      jdk1.2 versions.

      To reproduce the problem, do the following:
      1) Set the display colour depth to 8 bits per pixel (256 colours)
      2) Set the desktop colour to something other than the 'Windows
      Standard'. This is done under the 'Appearance' tab of the
      'Display Properties' panel.
      (Note that only some colour schems cause this behaviour,
      'Rainy Day' is an example).
      3) Run any swing application, instead of appearing solid, the
      colours are stipple in appearance.
      4) When I simulataneously run a jdk1.1 application I do not see
      this effect.

      Although I have not been able to investigate this problem any
      further, it seems likely that it is a palette management issue.
      However, when in the foreground the application should be able
      to lock down enough palette entries to achieve a non-stippled
      appearance. It is worth noting that the effect is also seen when
      using the Swing Windows look and feel, in this case their should
      not be any such issues, since the same palette entries will be
      locked by Windows itself.

      As a final note, particularly unpleasent effects may be achieved
      by changing the desktop colour scheme while a Swing application
      is running.

      Output of java -version:
      java version "1.2.2"
      Classic VM (build JDK-1.2.2-U, native threads, symcjit)
      Output of java -fullversion:
      java version "1.2.2"
      Classic VM (build JDK-1.2.2-U, native threads, symcjit)
      (Review ID: 83885)
      ======================================================================

      Name: rlT66838 Date: 12/07/99


      java version "1.2.2"
      Classic VM (build JDK-1.2.2-W, native threads, symcjit)

      When running a Swing (JDK 1.2.2) applet with the Java Plug-in 1.2.2 that
      contains 256-color .GIF images, on an MS Windows 98 display that is in 256-
      color mode, the colors appear in technicolor (reverse graphics, x-ray graphics,
      inverse graphics, whatever you want to call it). It appears that the
      background palette is being realized instead of the foreground palette and so
      the wrong colors are mapped to the images when displaying them. This only
      occurs on some displays that are in 256-color mode, and only on MS WIndows 98.
      Increasing the color mode to 16-bit color or higher eliminates the problem.
      This is not however a workaround for all customers, since some of them cannot
      change their displays to a higher color mode.
      (Review ID: 98754)
      ======================================================================

            dfeldsunw Dmitry Feld (Inactive)
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: