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

Regression: The buttons are black when you click them in Java2Demo in b22

XMLWordPrintable

    • x86, itanium
    • linux_redhat_3.0, linux_redhat_9.0, linux_suse_sles_8.2

       JDK Version: 1.5.0-beta-b22
      Platforms: linux-i586, linux-ia64, linux-amd64
      OSes: RH9, AMD(32, 64), AS21_64
      host name:
        boswell.sfbay (Red Hat Linux release 9) 2.4.20-8
        encarta.sfbay (AS21, 2.4.21-1.1931.2.399.ent #1)
        applebee (SeSE SLES-8 AMD64 2.4.19 #1 x86_64)

      Problems:
      When you run Java2Demo by using 1.5.0-beta-b22, if you click the demo buttons, say fonts, the button is black, seems it is not repaint well in linux platforms, it is OK in windows and solaris platforms(32 bits and 64 bits).

      It is OK in 1.5.0-beta-b21, it only happens in b22 and in linux.

      I tried to use -Dawt.toolkit=sun.awt.motif.MToolkit option, it is OK in RH9, but it doesn't help in linux-ia64, linux-amd64 and amd32.

      To reproduce the problems:
      1. install jdk in the above platforms by using .bin or rpm.bin bundles in /net/mizu/usr/re/jdk1.5.0/bundles/linux-i586 or linux-ia64 or linux-amd64
      2. run Java2Demo with option and without the option -Dawt.toolkit,
      You will see the problems as above.

            svioletsunw Scott Violet (Inactive)
            ttzhang Tao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: