Skip to content

Commit 622cf25

Browse files
hansonrhansonr
authored andcommitted
SwingJS-site.zip update
1 parent c7b2a90 commit 622cf25

File tree

6 files changed

+3
-4
lines changed

6 files changed

+3
-4
lines changed
11 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20191020181703
1+
20191021064304
11 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20191020181703
1+
20191021064304
11 Bytes
Binary file not shown.

sources/net.sf.j2s.java.core/srcjs/swingjs2.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13715,8 +13715,7 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
1371513715
J2S.getResourcePath = function(path, isJavaPath) {
1371613716
if (!path || path.indexOf("https:/") != 0
1371713717
&& path.indexOf("https:/") != 0 && path.indexOf("file:/") != 0) {
13718-
var applet = J2S._applets[Clazz.loadClass("java.lang.Thread").currentThread$()
13719-
.getName$()];
13718+
var applet = Thread.currentThread$().getThreadGroup$().秘html5Applet;
1372013719
path = (!isJavaPath && applet.__Info.resourcePath || applet.__Info.j2sPath)
1372113720
+ "/" + (path || "");
1372213721
}

0 commit comments

Comments
 (0)