2003/12/29 03:27:43
[org.ibex.core.git] / src / org / xwt / Surface.java
index 45221ba..fd66554 100644 (file)
@@ -143,7 +143,7 @@ public abstract class Surface extends PixelBuffer implements Scheduler.Task {
                 root.putAndTriggerTraps("_Move", T);
             } catch (JSExn e) {
                 Log.info(Surface.class, "Exception thrown from Move message handler");
-                Log.logJS(e);
+                JS.log(e);
             }
         if (!cursor.equals(oldcursor)) syncCursor();
     }
@@ -307,7 +307,7 @@ public abstract class Surface extends PixelBuffer implements Scheduler.Task {
                 boxContainingMouse.putAndTriggerTraps(name, value);
             } catch (JSExn e) {
                 Log.info(Surface.class, "Exception thrown from "+name+" handler");
-                Log.logJS(e);
+                JS.log(e);
             } finally {
                 Platform.clipboardReadEnabled = false;
             }