2003/05/12 05:04:32
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:00:11 +0000 (07:00 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:00:11 +0000 (07:00 +0000)
darcs-hash:20040130070011-2ba56-27b00136bb1ad93f3791af66f6b8b48dde001361.gz

src/org/xwt/plat/Java2.java

index f1a2acd..1b54053 100644 (file)
@@ -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);
         }
+       */
     }
 
 }