2003/12/29 03:25:43
[org.ibex.core.git] / src / org / xwt / Surface.java
index e28dbcd..45221ba 100644 (file)
@@ -142,7 +142,7 @@ public abstract class Surface extends PixelBuffer implements Scheduler.Task {
             try {
                 root.putAndTriggerTraps("_Move", T);
             } catch (JSExn e) {
-                Log.log(Surface.class, "Exception thrown from Move message handler");
+                Log.info(Surface.class, "Exception thrown from Move message handler");
                 Log.logJS(e);
             }
         if (!cursor.equals(oldcursor)) syncCursor();
@@ -194,11 +194,11 @@ public abstract class Surface extends PixelBuffer implements Scheduler.Task {
 
     /** Indicates that the Surface is no longer needed */
     public final void dispose(boolean quitIfAllSurfacesGone) {
-        if (Log.on) Log.log(this, "disposing " + this);
+        if (Log.on) Log.info(this, "disposing " + this);
         allSurfaces.removeElement(this);
         _dispose();
         if (allSurfaces.size() == 0) {
-            if (Log.on) Log.log(this, "exiting because last surface was destroyed");
+            if (Log.on) Log.info(this, "exiting because last surface was destroyed");
             System.exit(0);
         }
     }
@@ -306,7 +306,7 @@ public abstract class Surface extends PixelBuffer implements Scheduler.Task {
             try {
                 boxContainingMouse.putAndTriggerTraps(name, value);
             } catch (JSExn e) {
-                Log.log(Surface.class, "Exception thrown from "+name+" handler");
+                Log.info(Surface.class, "Exception thrown from "+name+" handler");
                 Log.logJS(e);
             } finally {
                 Platform.clipboardReadEnabled = false;