diff options
author | sg215889 <[email protected]> | 2009-07-28 20:20:02 -0700 |
---|---|---|
committer | sg215889 <[email protected]> | 2009-07-28 20:20:02 -0700 |
commit | ce34e2286a1ef4f8be874144e25c0268a1abf90f (patch) | |
tree | c6039233aa5e4851c40eb789dc7bb24609c3ad15 /src/nativewindow/classes/com/sun | |
parent | 6db7512b4dc3c97e31937e3bd226b2b33cc53268 (diff) |
Use getNativeWindowType(custom=true) for factory selection; Don't fail is non native OS factory is available
Diffstat (limited to 'src/nativewindow/classes/com/sun')
-rw-r--r-- | src/nativewindow/classes/com/sun/nativewindow/impl/NativeWindowFactoryImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nativewindow/classes/com/sun/nativewindow/impl/NativeWindowFactoryImpl.java b/src/nativewindow/classes/com/sun/nativewindow/impl/NativeWindowFactoryImpl.java index 424b44c8c..c94dab2f6 100644 --- a/src/nativewindow/classes/com/sun/nativewindow/impl/NativeWindowFactoryImpl.java +++ b/src/nativewindow/classes/com/sun/nativewindow/impl/NativeWindowFactoryImpl.java @@ -69,7 +69,7 @@ public class NativeWindowFactoryImpl extends NativeWindowFactory { private NativeWindow getAWTNativeWindow(Object winObj, AbstractGraphicsConfiguration config) { if (nativeWindowConstructor == null) { try { - String osType = getNativeWindowType(false); + String osType = getNativeWindowType(true); String windowClassName = null; // We break compile-time dependencies on the AWT here to |