summaryrefslogtreecommitdiffstats
path: root/make/config/nativewindow/jawt-CustomJavaCode.java
diff options
context:
space:
mode:
Diffstat (limited to 'make/config/nativewindow/jawt-CustomJavaCode.java')
-rwxr-xr-xmake/config/nativewindow/jawt-CustomJavaCode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/config/nativewindow/jawt-CustomJavaCode.java b/make/config/nativewindow/jawt-CustomJavaCode.java
index b92e5a983..87d08241b 100755
--- a/make/config/nativewindow/jawt-CustomJavaCode.java
+++ b/make/config/nativewindow/jawt-CustomJavaCode.java
@@ -12,7 +12,7 @@ public static JAWT getJAWT() {
AccessController.doPrivileged(new PrivilegedAction() {
public Object run() {
JAWT j = JAWT.create();
- j.version(JAWTFactory.JAWT_VERSION_1_4);
+ j.setVersion(JAWTFactory.JAWT_VERSION_1_4);
if (!JAWTFactory.JAWT_GetAWT(j)) {
throw new RuntimeException("Unable to initialize JAWT");
}