@@ -11964,6 +11964,8 @@ if (database == "_" && J2S._serverUrl.indexOf("//your.server.here/") >= 0) {
1196411964}
1196511965}
1196611966
11967+ J2S.getClassList = function(){J2S._saveFile('_j2sclasslist.txt', Clazz.ClassFilesLoaded.sort().join('\n'))}
11968+
1196711969// J2S._localFileSaveFunction -- // do something local here; Maybe try the
1196811970// FileSave interface? return true if successful
1196911971
@@ -13490,6 +13492,15 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
1349013492return c;
1349113493}
1349213494
13495+ var __j2sDebugCode = function() {
13496+ if (!document.getElementById("j2sprofile")) {
13497+ $('body').append(`<div id=j2sprofile><a href='#"diff-6676e5f02d38c50b48417f416f2d0ff43f5b2f625ba2f91dacd688db80064a7f-13492-13498-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">
13498+ }
13499+ if (!document.getElementById("sysoutdiv")) {
13500+ $('body').append(`<div spellcheck="false" id="sysoutdiv" contentEditable="true" style="border:1px solid green;width:800;height:300;overflow:auto">This is System.out</div>`);
13501+ }
13502+ }
13503+
1349313504proto._setupJS = function() {
1349413505J2S.setGlobal("j2s.lib", {
1349513506base : this._j2sPath + "/",
@@ -13499,10 +13510,15 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
1349913510});
1350013511J2S.setGlobal("j2s.tmpdir", "/TEMP/");
1350113512var isFirst = (__execStack.length == 0);
13502- if (isFirst)
13513+ if (isFirst)
1350313514J2S._addExec([ this, __loadClazz, null, "loadClazz" ]);
1350413515this._addCoreFiles();
1350513516J2S._addExec([ this, this.__startAppletJS, null, "start applet" ])
13517+
13518+ if (J2S._debugCode) {
13519+ J2S._addExec([ this, __j2sDebugCode, null, "j2sdebugcode" ])
13520+ }
13521+
1350613522this._isSigned = true; // access all files via URL hook
1350713523this._ready = false;
1350813524this._applet = null;