Skip to content

Commit d4c296e

Browse files
committed
adds applet._window
1 parent c2ade06 commit d4c296e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SwingJSApplet.js
22

33
// generic SwingJS Applet
4-
4+
// BH 3/14/2018 8:42:33 PM adds applet._window for JSObject
55
// BH 12/18/2016 8:09:56 AM added SwingJS.Loaded and SwingJS.isLoaded
66
// BH 7/24/2015 9:09:39 AM allows setting Info.resourcePath
77
// BH 4/28/2015 10:15:32 PM adds getAppletHtml
@@ -37,6 +37,7 @@ if (typeof(SwingJS) == "undefined") {
3737
this._appletType = "SwingJS._Applet" + (Info.isSigned ? " (signed)" : "");
3838
this._isJava = true;
3939
this._availableParams = null; // all allowed
40+
this._window = window;
4041
if (checkOnly)
4142
return this;
4243
this._isSigned = Info.isSigned;

0 commit comments

Comments
 (0)