JAL-3253-applet JAL-3383 Overview speed up -- see Issue comments.
[jalview.git] / src / jalview / bin / JalviewJS2.java
index 26110f8..1ed9f27 100644 (file)
@@ -20,16 +20,25 @@ public class JalviewJS2
 
   static {
     /**
-     * @j2sNative
+     * @ could do it this way:
      * 
-     *            J2S.thisApplet.__Info.args =
-     *            ["open","examples/uniref50.fa","features",
-     *            "examples/exampleFeatures.txt"];
+     * j2sNative
+     * 
+     * J2S.thisApplet.__Info.args = [ "open","examples/uniref50.fa",
+     * "features","examples/exampleFeatures.txt", "noannotation" ];
      */
   }
 
   public static void main(String[] args) throws Exception
   {
+    if (args.length == 0)
+    {
+      args = new String[] { "open", "examples/uniref50.fa", "features",
+          "examples/exampleFeatures.txt"
+          , "noannotation"
+          , "showoverview"
+      };
+    }
     Jalview.main(args);
        //showFocusTimer();
 }