*
*/
//@J2SRequireImport(swingjs.JSToolkit.class)
-public abstract class JSThread extends Thread implements JSFunction {
+public abstract class JSThread extends Thread {
public static final int INIT = 0;
public static final int LOOP = 1;
public static int threadCount = 0;
- protected boolean isJS;
+ protected boolean isJS = /** @j2sNative true || */false;
public JSThread() {
this(null, "JSThread-" + (++threadCount));
public JSThread(ThreadGroup group, String name) {
super(group, name);
- /**
- * @j2sNative
- *
- * this.isJS = true;
- */
- {}
- }
+ }
@Override
public void run() {
*
* setTimeout(
* function() {
- * java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent$java_awt_AWTEvent(
+ * java.awt.Toolkit.getDefaultToolkit$().getSystemEventQueue$().postEvent$java_awt_AWTEvent(
* Clazz.new_(java.awt.event.InvocationEvent.c$$O$Runnable,[me, r]))},
* delay);
*