From: Jim Procter Date: Tue, 8 Sep 2015 16:55:12 +0000 (+0100) Subject: JAL-1695 make enableSplitFrame applet parameter true by default X-Git-Tag: Release_2_10_0~457^2~11 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=53fbb5d33d1778d5df41b3f9942eaef8a7b9f3ec;p=jalview.git JAL-1695 make enableSplitFrame applet parameter true by default --- diff --git a/src/jalview/bin/JalviewLite.java b/src/jalview/bin/JalviewLite.java index c7f4e30..93b2a3f 100644 --- a/src/jalview/bin/JalviewLite.java +++ b/src/jalview/bin/JalviewLite.java @@ -1459,7 +1459,7 @@ public class JalviewLite extends Applet implements file = data.toString(); } } - if (TRUE.equalsIgnoreCase(getParameter("enableSplitFrame"))) + if (getDefaultParameter("enableSplitFrame", true)) { file2 = getParameter("file2"); } @@ -2736,7 +2736,7 @@ public class JalviewLite extends Applet implements { return def; } - if (stn.toLowerCase().equals(TRUE)) + if (TRUE.equalsIgnoreCase(stn)) { return true; }