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

REGRESSION: Internal Frame window icons distorted in JDK1.5 using Windows XP

XMLWordPrintable

    • 5.0
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      C:\WINDOWS\system32>java -version
      java version "1.5.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
      Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      We found the following issue starting in Java 1.5 with Windows XP, which affects our product quite a bit.

      If you run on Windows XP with the windows look and feel, but with the property
      -Dswing.noxp=true to disable the XP look and feel (we want a uniform look accross all windows platforms), the icons for the internal frame (MDI) are bigger than normal, looking pretty bad (minimize/Maximize/Restore).

      The problem is easy to reproduce with the SwingSet2 example provided by Sun with JDK1.5.

      Simply run the demo with the property to disable XP look and feel

      java -Dswing.noxp=true -jar SwingSet2.jar

      And set the look and feel to windows. Now look at the icons for the internal frames. They are way bigger (and ugly) than normal. (only on XP OS)

      This issue was introduced in Java 1.5 (did not happen in 1.4.2).


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      The problem is easy to reproduce with the SwingSet2 example provided by Sun with JDK1.5.

      Simply run the demo with the property to disable XP look and feel

      java -Dswing.noxp=true -jar SwingSet2.jar

      And set the look and feel to windows. Now look at the icons for the internal frames. They are way bigger (and ugly) than normal. (only on XP OS)


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The icons for the internal frame should be the normal size, as displayed on other Windows OS (2000, NT, etc.)
      ACTUAL -
      The icons are larger than usual, not looking very good.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Use the SwingSet2 example provided with JDK 1.5:

      java -Dswing.noxp=true -jar SwingSet2.jar
      ---------- END SOURCE ----------

      Release Regression From : 1.4.2_07
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.
      ###@###.### 2005-03-15 05:29:58 GMT

            bchristi Brent Christian
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: