8046239: Build failure in 9-client on all non-Windows platforms
Reviewed-by: anthony, serb, alexp
This commit is contained in:
parent
5ecd91e84a
commit
48b2a7c0c7
@ -52,7 +52,6 @@ import javax.swing.text.JTextComponent;
|
||||
|
||||
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 @@ class XPStyle {
|
||||
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;
|
||||
}
|
||||
|
@ -45,6 +45,10 @@ public final class ThemeReader {
|
||||
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) {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user