2a5ccc59d03e8684e9c43af6d822e499732531d9
[jalview.git] / utils / jalviewjs / site-resources / jalview_bin_Jalview-namespace.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>SwingJS test Jalview</title><meta charset="utf-8" />
5 <script src="swingjs/swingjs2.js"></script>
6 <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)
8 Info = {
9   code: null,
10   main: "jalview.bin.Jalview",
11   core: "NONE",
12   width: 850,
13   height: 550,
14   readyFunction: null,
15   serverURL: 'https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php',
16   j2sPath: 'swingjs/j2s',
17   console:'sysoutdiv',
18   allowjavascript: true,
19   namespace: "jv"
20 }
21 </script>
22 </head>
23 <body>
24 <div id="jv:jalviewSplash" style="position:absolute;right:10px;top:10px;">
25 <img src="images/jv.gif">
26 </div>
27 <script>
28 SwingJS.getApplet('testApplet', Info)
29 getClassList = function(){J2S._saveFile('_j2sclasslist.txt', Clazz.ClassFilesLoaded.sort().join('\n'))}
30 </script>
31 <div style="position:absolute;left:10px;top:10px;width:640px;height:1200px;">
32 <div id="sysoutdiv" contentEditable="true" style="border:1px solid green;width:100%;height:95%;overflow:auto"></div>
33 This is System.out. <a href="javascript:testApplet._clearConsole()">clear it</a>  <a href='javascript:J2S.getProfile()'>start/stop profiling</a><br>see <a href=___j2sflags.htm>___j2sflags.htm</a> for SwingJS URL command-line options<br><a href="javascript:getClassList()">get _j2sClassList.txt</a>
34 </div>
35 </body>
36 </html>