git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Jmol/SwingJS update. Includes new transpiler and runtime
[jalview.git]
/
srcjar
/
javajs
/
util
/
JSThread.java
diff --git
a/srcjar/javajs/util/JSThread.java
b/srcjar/javajs/util/JSThread.java
index
be94c00
..
56a500e
100644
(file)
--- a/
srcjar/javajs/util/JSThread.java
+++ b/
srcjar/javajs/util/JSThread.java
@@
-22,7
+22,7
@@
import javajs.api.JSFunction;
*
*/
//@J2SRequireImport(swingjs.JSToolkit.class)
*
*/
//@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 final int INIT = 0;
public static final int LOOP = 1;
@@
-30,7
+30,7
@@
public abstract class JSThread extends Thread implements JSFunction {
public static int threadCount = 0;
public static int threadCount = 0;
- protected boolean isJS;
+ protected boolean isJS = /** @j2sNative true || */false;
public JSThread() {
this(null, "JSThread-" + (++threadCount));
public JSThread() {
this(null, "JSThread-" + (++threadCount));
@@
-42,13
+42,7
@@
public abstract class JSThread extends Thread implements JSFunction {
public JSThread(ThreadGroup group, String name) {
super(group, name);
public JSThread(ThreadGroup group, String name) {
super(group, name);
- /**
- * @j2sNative
- *
- * this.isJS = true;
- */
- {}
- }
+ }
@Override
public void run() {
@Override
public void run() {
@@
-201,7
+195,7
@@
public abstract class JSThread extends Thread implements JSFunction {
*
* setTimeout(
* function() {
*
* 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);
*
* Clazz.new_(java.awt.event.InvocationEvent.c$$O$Runnable,[me, r]))},
* delay);
*