3 import java.awt.event.ActionEvent;
4 import java.awt.event.ActionListener;
6 import javax.swing.Timer;
9 * Entry point for JalviewJS development.
16 public class JalviewJS2
23 * thisApplet.__Info.args =
24 * ["open","examples/uniref50.fa","features",
25 * "examples/exampleFeatures.txt"];
32 * thisApplet.__Info.args =
33 * ["open","examples/jaxbtest.jvx"];
38 public static void main(String[] args) throws Exception
44 protected static int focusTime = 0;
46 private static void showFocusTimer() {
48 Timer t = new Timer(100, new ActionListener() {
51 public void actionPerformed(ActionEvent e) {
52 String s = /** @j2sNative document.activeElement.id || */
55 s += " " + (++focusTime);
57 /** @j2sNative document.title = s; */
63 if (/** @j2sNative true || */