mass rename and rebranding from xwt to ibex - fixed to use ixt files
[org.ibex.core.git] / src / org / ibex / Scheduler.java
similarity index 93%
rename from src/org/xwt/Scheduler.java
rename to src/org/ibex/Scheduler.java
index 9e939a3..4ec0aec 100644 (file)
@@ -1,14 +1,13 @@
 // Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL]
-package org.xwt;
+package org.ibex;
 
-import java.util.*;
-import org.xwt.js.*;
-import org.xwt.util.*;
+import org.ibex.js.*;
+import org.ibex.util.*;
 
 /** Implements cooperative multitasking */
 public class Scheduler {
 
-    // Public API Exposed to org.xwt /////////////////////////////////////////////////
+    // Public API Exposed to org.ibex /////////////////////////////////////////////////
 
     private static Scheduler singleton;
     public static interface Task { public abstract void perform() throws Exception; }
@@ -77,7 +76,7 @@ public class Scheduler {
                 }
                 renderAll();
             } catch (JSExn e) {
-                Log.info(Scheduler.class, "a JavaScript thread spawned with xwt.thread() threw an exception:");
+                Log.info(Scheduler.class, "a JavaScript thread spawned with ibex.thread() threw an exception:");
                 Log.info(Scheduler.class, "JS Exception: " + e.getObject() + "\n" + e.backtrace());
                 Log.info(Scheduler.class,e);
             } catch (Exception e) {