From 384a5db710f12a2b34fc019fbfc714b50851079b Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:00:11 +0000 Subject: [PATCH] 2003/05/12 05:04:32 darcs-hash:20040130070011-2ba56-27b00136bb1ad93f3791af66f6b8b48dde001361.gz --- src/org/xwt/plat/Java2.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/org/xwt/plat/Java2.java b/src/org/xwt/plat/Java2.java index f1a2acd..1b54053 100644 --- a/src/org/xwt/plat/Java2.java +++ b/src/org/xwt/plat/Java2.java @@ -17,7 +17,9 @@ import java.lang.reflect.*; public class Java2 extends AWT { private boolean isJava14 = false; - protected boolean _supressDirtyOnResize() { return isJava14 ? false : true; } + protected boolean _supressDirtyOnResize() { + return (isJava14 && !System.getProperty("os.name", "").equals("Mac OS X"))? false : true; + } public Java2() { // disable the focus manager so we can intercept the tab key @@ -280,6 +282,8 @@ public class Java2 extends AWT { protected String getDescriptiveName() { return isJava14 ? "Java 1.4+ JVM" : "Java 1.2+ JVM"; } protected void _newBrowserWindow(String url) { + /* + FIXME if (Main.applet == null) { if (Log.on) Log.log(this, "Main.applet is null; cannot invoke showDocument()"); return; @@ -290,6 +294,7 @@ public class Java2 extends AWT { } catch (MalformedURLException e) { if (Log.on) Log.log(this, e); } + */ } } -- 1.7.10.4