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

Java2Demo applet looks messy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 5.0
    • client-libs

      Tested Platform: winXP-Home/ 2000 Pro (sp4)/ win98-SE
             Browsers: IE6/ NS7.1
             Build: j2sdk1.5.0-b24


      Steps to reproduce:

      1) Install j2sdk1.5.0-b24 into the test system
      2) Using NS7.1 or IE6 to launch the Java2Demo which is bundled with j2sdk1.5.0-b24

       Let's say: C:/j2sdk1.5.0/demo/plugin/jfc/Java2D/Java2Demo.html

      The demo should load fine in the broswer. However, if user selects any tab from the top (Colors,Composite/Fonts/Images/Lines/Mix/Paint/Paths/Transform), then that selected tab will become white blank instead of being highlighted. Even the selection tab is turned active but it has a very messy look.
      This is a regression. It passed with j2sdk1.4.2-fcs

      Furthermore, the same demo should run fine if run using the jar file:
             java -jar C:\j2sdk1.5.0\demo\jfc\Java2D\Java2Demo.jar

      It may have to do with repaint problem. Please evaluate.

            svioletsunw Scott Violet (Inactive)
            hungnguy Hung Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: