From 55b1dd41a30dfec6983f6380c7890a729f940792 Mon Sep 17 00:00:00 2001 From: hansonr Date: Wed, 15 May 2019 22:07:08 -0500 Subject: [PATCH] Jalview-JS/JAL-3253 debug comments out --- src/jalview/bin/AppletParams.java | 6 +++--- src/jalview/bin/JalviewJS2.java | 14 ++++++++++---- 2 files changed, 13 insertions(+), 7 deletions(-) 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(); } -- 1.7.10.2