--- old/src/share/classes/com/sun/java/swing/plaf/windows/XPStyle.java 2014-06-09 16:18:52.031422152 +0400 +++ new/src/share/classes/com/sun/java/swing/plaf/windows/XPStyle.java 2014-06-09 16:18:51.707422168 +0400 @@ -52,7 +52,6 @@ import sun.awt.image.SunWritableRaster; import sun.awt.windows.ThemeReader; -import sun.awt.windows.WToolkit; import sun.security.action.GetPropertyAction; import sun.swing.CachedPainter; @@ -100,7 +99,7 @@ if (themeActive == null) { Toolkit toolkit = Toolkit.getDefaultToolkit(); themeActive = - (Boolean)toolkit.getDesktopProperty(WToolkit.XPSTYLE_THEME_ACTIVE); + (Boolean)toolkit.getDesktopProperty("win.xpstyle.themeActive"); if (themeActive == null) { themeActive = Boolean.FALSE; } --- old/src/solaris/classes/sun/awt/windows/ThemeReader.java 2014-06-09 16:18:52.579422126 +0400 +++ new/src/solaris/classes/sun/awt/windows/ThemeReader.java 2014-06-09 16:18:52.375422135 +0400 @@ -45,6 +45,10 @@ return false; } + public static boolean isXPStyleEnabled() { + return false; + } + public static void paintBackground(int[] buffer, String widget, int part, int state, int x, int y, int w, int h, int stride) { }