4 <title>SwingJS test JalviewJS2</title><meta charset="utf-8" />
5 <script src="swingjs/swingjs2.js"></script>
7 if (!self.SwingJS)alert('swingjs2.js was not found. It needs to be in swingjs folder in the same directory as ' + document.location.href)
10 main: "jalview.bin.JalviewJS2",
15 serverURL: 'https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php',
16 j2sPath: 'swingjs/j2s',
24 SwingJS.getApplet('testApplet', Info)
25 getClassList = function(){J2S._saveFile('_j2sclasslist.txt', Clazz.ClassFilesLoaded.sort().join('\n'))}
27 <div style="position:absolute;left:900px;top:30px;width:600px;height:300px;">
28 <div id="sysoutdiv" style="border:1px solid green;width:100%;height:95%;overflow:auto"></div>
29 This is System.out. <a href="javascript:testApplet._clearConsole()">clear it</a> <br>Add ?j2snocore to URL to see full class list; ?j2sdebug to use uncompressed j2s/core files <br><a href="javascript:getClassList()">get _j2sClassList.txt</a>