aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java4
-rw-r--r--src/newt/classes/com/jogamp/newt/NewtFactory.java1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
index b0f5cb3f9..51f4568c8 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
@@ -200,7 +200,7 @@ public abstract class NativeWindowFactory {
}
});
if(null != jawtUtilClass && null != jawtUtilGetJAWTToolkitMethod && null != jawtUtilInitMethod) {
- ReflectionUtil.callMethod(null, jawtUtilInitMethod, null);
+ ReflectionUtil.callMethod(null, jawtUtilInitMethod);
Object resO = ReflectionUtil.callStaticMethod(JAWTUtilClassName, "isHeadlessMode", null, null, cl );
if(resO instanceof Boolean) {
@@ -329,7 +329,7 @@ public abstract class NativeWindowFactory {
}
protected static ToolkitLock getAWTToolkitLock() {
- Object resO = ReflectionUtil.callMethod(null, jawtUtilGetJAWTToolkitMethod, null);
+ Object resO = ReflectionUtil.callMethod(null, jawtUtilGetJAWTToolkitMethod);
if(resO instanceof ToolkitLock) {
return (ToolkitLock) resO;
diff --git a/src/newt/classes/com/jogamp/newt/NewtFactory.java b/src/newt/classes/com/jogamp/newt/NewtFactory.java
index 4b7eedca2..cd44df154 100644
--- a/src/newt/classes/com/jogamp/newt/NewtFactory.java
+++ b/src/newt/classes/com/jogamp/newt/NewtFactory.java
@@ -36,7 +36,6 @@ package com.jogamp.newt;
import javax.media.nativewindow.*;
import com.jogamp.common.jvm.JVMUtil;
-import com.jogamp.newt.event.WindowEvent;
import jogamp.newt.DisplayImpl;
import jogamp.newt.ScreenImpl;
import jogamp.newt.WindowImpl;