<Swing Dev> FW: JDK1.7u17 Windows 8 compatibility issue: platform LAF does not work
Iris Clark
iris.clark at oracle.com
Wed Mar 27 17:39:36 UTC 2013
Forwarding message to swing-dev.
iris
-----Original Message-----
From: Heiko Wagner [mailto:heiko.wagner at apis.de]
Sent: Wednesday, March 27, 2013 3:26 AM
To: core-libs-dev at openjdk.java.net
Subject: JDK1.7u17 Windows 8 compatibility issue: platform LAF does not work
I am just facing a compatibility issue with Java 7u17 and Windows 8. When I am in "desktop mode" and want to set the platform LAF everything works in case the default Windows theme is set (the one that looks similar to Win7).
When Windows 8 is set to a high contrast theme (black background + whil/yellow foreground), setting of the platform LAF no loger works. Here is the stack trace:
java.lang.NullPointerException
at com.sun.java.swing.plaf.windows.XPStyle$Skin.getWidth(Unknown Source) at com.sun.java.swing.plaf.windows.XPStyle$Skin.getWidth(Unknown Source) at com.sun.java.swing.plaf.windows.WindowsPopupMenuUI.getGutterWidth(Unknown
Source)
at
com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initVistaComponentDefault
s(Unknown Source)
at
com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initComponentDefaults(Unk
nown Source)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(Unknown Source) at javax.swing.UIManager.setLookAndFeel(Unknown Source) at javax.swing.UIManager.setLookAndFeel(Unknown Source)
Is this problem already known and scheduled for a later update version?
Regards,
Heiko
More information about the swing-dev
mailing list