4 <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
5 <title>SwingJS test Jalview</title><meta charset="utf-8" />
6 <script src="swingjs/swingjs2.js"></script>
8 if (!self.SwingJS)alert('swingjs2.js was not found. It needs to be in swingjs folder in the same directory as ' + document.location.href)
11 main: "jalview.bin.JalviewJS",
18 serverURL: 'https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php',
19 j2sPath: 'swingjs/j2s',
21 allowjavascript: true,
22 // all j2s_... values can be accessed in JalviewJSUtil.getInstance().getJSInfoValue(key)
30 transform: rotate(0deg);
33 transform: rotate(360deg);
36 .jv_jalviewjsSplashRotate {
37 animation: rotation 6s infinite cubic-bezier(0.4, 0.6, 0.6, 0.4);
39 .jv_jalviewjsSplashActive {
43 .jv_jalviewjsSplashInactive {
44 animation-iteration-count: 1;
45 animation-fill-mode: forwards;
50 .jv_jalviewjsSplashFinal {
58 SwingJS.getApplet('jalviewjs', Info);
59 getClassList = function(){J2S._saveFile('_j2sclasslist.txt', Clazz.ClassFilesLoaded.sort().join('\n'))};
61 <div style="position:absolute;left:10px;top:10px;width:640px;height:1200px;">
62 <div id="sysoutdiv" contentEditable="true" style="padding: 5px; border: 1px solid green; width: 100%; height: 95%; overflow: auto; font-family: 'Fira Mono', monospace; font-size: 8pt;">
63 <div id="jv:jalviewjsSplash" class="jv_jalviewjsSplashRotate jv_jalviewjsSplashActive" style="position: absolute; right: 1rem; top: 1rem; z-index: 1000;">
64 <img style="width; 2rem; height: 2rem;" src="images/jalview_logo_small.svg" />
67 This is System.out. <a href="javascript:jalviewjs._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>