From: hansonr Date: Thu, 16 May 2019 03:07:08 +0000 (-0500) Subject: Jalview-JS/JAL-3253 debug comments out X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=55b1dd41a30dfec6983f6380c7890a729f940792;p=jalview.git Jalview-JS/JAL-3253 debug comments out --- diff --git a/src/jalview/bin/AppletParams.java b/src/jalview/bin/AppletParams.java index a6d862f..0ccbdc5 100644 --- a/src/jalview/bin/AppletParams.java +++ b/src/jalview/bin/AppletParams.java @@ -150,13 +150,13 @@ public class AppletParams extends HashMap case "centrecolumnlabels": break; case "defaultcolour": - name = "defaultColour"; + name = "DEFAULT_COLOUR"; // defaultColour break; case "defaultcolournuc": - name = "defaultColourNuc"; + name = "DEFAULT_COLOUR_NUC";// defaultColourNuc break; case "defaultcolourprot": - name = "defaultColourProt"; + name = "DEFAULT_COLOUR_PROT";// defaultColourProt"; break; case "enablesplitframe": name = "enableSplitFrame"; diff --git a/src/jalview/bin/JalviewJS2.java b/src/jalview/bin/JalviewJS2.java index 26110f8..5079dee 100644 --- a/src/jalview/bin/JalviewJS2.java +++ b/src/jalview/bin/JalviewJS2.java @@ -20,16 +20,22 @@ 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" ]; */ } public static void main(String[] args) throws Exception { + if (args.length == 0) + { + args = new String[] { "open", "examples/uniref50.fa", "features", + "examples/exampleFeatures.txt" }; + } Jalview.main(args); //showFocusTimer(); }