- if (s.equals(max))\r
- return new Color(154, 154, 255);\r
- else if (ResidueProperties.getBLOSUM62(max, s) > 0)\r
- return new Color(204, 204, 255);\r
- else\r
- return Color.white;\r
+ Hashtable hash = (Hashtable) consensus.elementAt(j);\r
+\r
+ if (!jalview.util.Comparison.isGap( (s.charAt(0))))\r
+ {\r
+ String max = (String) hash.get("maxResidue");\r