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

Switching between "Windows and button" style on XP, color schemes on Vista is throwing an NPE.

XMLWordPrintable

    • 6
    • x86
    • windows_xp

      Switching between "Windows and button" style on XP, color schemes on Vista is throwing an NPE.
      Steps to reproduce:
       - Open SwingSet2, Switch to Windows LAF
       - Switch to ProgressBar demo.
       - Now open the Windows "Display Properties"
       - Navigate to the "Appearance" Tab
       - Change the "Windows & Buttons" from "Windows XP style" -> "Windows Classic style"
       - And Apply the same
       - You can see the NullPointerException now, the bug is reproduced

      On Vista
       - You need change the "Color Scheme" from "Windows Vista Basic" to "Windows Classic"

      This is reproducible on the latest build b98. Tried regressing it on XP till build b36, earlier build it's not consistent.

      Stacktrace attached for both XP and Vista 5520.

            idk Igor Kushnirskiy (Inactive)
            esubramasunw Elancheran Subramanian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: