*/
public class Jalview
{
- // @formatter:off
- /**
- * find first query parameter (if any) that doesn't start with j2s
- * and set as space-delimited arguments to Jalview main
- *
- * @j2sNative
- * var hr = decodeURI(document.location.href);
- * var pos = hr.indexOf("?");
- * if (pos > 0)
- * {
- * q = hr.substring(pos+1);
- * args = q.split("&");
- * for (i = 0 ; i < args.length; i++)
- * {
- * arg1 = args[i];
- * if (!arg1.startsWith("j2s"))
- * {
- * thisApplet.__Info.args = arg1.split(" ");
- * break;
- * }
- * }
- * }
- */
- // @formatter:on
+ static
+ {
+ Platform.getURLCommandArguments();
+ }
+
+ // singleton instance of this class
- /*
- * singleton instance of this class
- */
private static Jalview instance;
private Desktop desktop;