// 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; }
}
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) {