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

Swing Components are not rendered properly

XMLWordPrintable

    • 2d
    • sparc
    • solaris_8

      Swing Components are not rendered properly in 8 bit and 16 bit depth in Win 2000 and Solaris 2.8.

      How to reproduce the bug
      ========================
      retrive the attachemnts and put in a directory.Compile Run.java in the attachements.Run the programme as follows.

      In Solaris:

      setenv STD_JAVA_HOME /usr/local/java/jdk1.3/solaris
      setenv JAVA_HOME /usr/local/java/jdk1.4/solaris


      In Windows

      Select different color depths : 8 bits and 16 bits respectively.

      set STD_JAVA_HOME={Location of jdk1.3}
      set JAVA_HOME={Location of jdk1.4}


       java Run SwingRendering ${STD_JAVA_HOME} ${JAVA_HOME}

      The program will compile the SwingRendering.java in Test jdk and run it.
      A Frame will be displayed on which different Swing components are present.
      Messages will be displayed on the screen. The same is repeated in the
      standard jdk build. The two images are compared and the result is displayed.


       

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: