diff options
author | Sven Gothel <[email protected]> | 2011-09-16 12:40:46 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-16 12:40:46 +0200 |
commit | e228acfcf5be36fb161043bb2ae21f8d60bc6ca4 (patch) | |
tree | b1e6d96b062f96dd1f857f96a04b85fcf76f85d7 /src/nativewindow | |
parent | aca09874bd3abe651f88ead28154fa2feefbd6a6 (diff) |
NEWT Cleanup: AWT driver fix, WindowImpl createNative .., minor edits
AWT driver fix
- setVisible at creation, using reconfigureWindow impl (fixed
WindowImpl createNative ..,
- no double visibility check on creation
- visible:=true anyway for later creation, if failed or not available yet
Diffstat (limited to 'src/nativewindow')
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java index ee6d44d48..b7f207752 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java @@ -198,7 +198,7 @@ public abstract class NativeWindowFactory { ReflectionUtil.isClassAvailable(AWTComponentClassName, cl) && ReflectionUtil.isClassAvailable("javax.media.nativewindow.awt.AWTGraphicsDevice", cl) ) { - AccessController.doPrivileged(new PrivilegedAction() { + AccessController.doPrivileged(new PrivilegedAction<Object>() { public Object run() { try { jawtUtilClass = Class.forName(JAWTUtilClassName, false, NativeWindowFactory.class.getClassLoader()); |