JAL-3253-applet, reading applet tag parameters needed toLowerCase()
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Wed, 15 May 2019 14:52:42 +0000 (09:52 -0500)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Wed, 15 May 2019 14:52:42 +0000 (09:52 -0500)
src/jalview/bin/AppletParams.java

index 01c910d..a6d862f 100644 (file)
@@ -128,7 +128,7 @@ public class AppletParams extends HashMap<String, String>
         String key = getAttr(arg, "name");
         String value = getAttr(arg, "value");
         String name = key;
-        switch (name)
+        switch (name.toLowerCase())
         {
         case "alignpdbfiles":
           break;
@@ -243,7 +243,7 @@ public class AppletParams extends HashMap<String, String>
           name = "upperCase";
           break;
         case "userdefinedcolour":
-          name = "userDefinedColour";
+          name = "colour";
           break;
         case "widthscale":
           name = "widthScale";