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

Broaden rectangle is displayed INCORRECTLY with Java2 and 16BPP

XMLWordPrintable

    • 2d
    • beta3
    • generic
    • windows_2000

      When we invoked the attached program with JDK1.1.8_007 and Java2,
      the color of displayed rectangle is different each other.

      The attached program displays two rectangles with "red" and that is correct
      behavior.
      When setting the display mode to "True Color"(24bpp or 32bpp), we can see
      the program work well both with JDK1.1.8_007 and Java2.

      The mode being set to "High Color"(16 bpp), the program works correctly
      only with jdk1.1.8_007, but does not with Java2(any version), which is,
      the smaller rectangle is displayed "red' and the larger one is "blue".

      1. Reproduce

       1) Set the display mode "True Color"
       2) Invoke the attached program with Java2
          -> You can see a dialogue show up and the program dislay two rectangle
             with "red'. This is correct behavior.
       3) Close the dialogue
       4) Change the mode to "High Color"(16 bpp)
       5) Invoke the attached program with Java2
          -> You can see one rect. is "red" and another is "blue".

      2. Configration

       1) PC

          OS: WindowsNT4.0 (SP5, Japanese)
          MPU : Pentium II 400[MHz]
          Mem : 256[MB]
          Graphic Card : nVIDIA RIVA TNT (driver ver. 4.00)

          OS: Windows2000 (SP1, Japanese)
          MPU : Pentium III 600E[MHz]
          Mem : 384[MB]
          Graphic Card : ATI Rage128 4X AGP 4X (driver ver. 5.0.2195.1)

       2) JDK

          Java2 : JDK1.2.2_008, JDK1.3.0, JDK1.3.0_003, JDK1.3.1 and JDK1.4-beta-b67

      3. Test Program

         Please see the attached file
      ===============================================================================

       

            duke J. Duke
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: