public UserDefinedColours(AlignmentPanel ap, SequenceGroup sg)\r
{\r
super();\r
+\r
lcaseColour.setEnabled(false);\r
\r
this.ap = ap;\r
if(caseSensitive.isSelected())\r
button.setMargin(new java.awt.Insets(2,2,2,2));\r
else\r
- button.setMargin(new java.awt.Insets(2,14,2,14));\r
+ button.setMargin(new java.awt.Insets(2,14,2,14));\r
\r
button.setBackground(col);\r
button.setText(label);\r
}\r
else\r
{\r
- index = ((Integer)ResidueProperties.aaHash.get(name)).intValue();\r
+ index = ResidueProperties.aaIndex[name.charAt(0)];\r
}\r
if(index == -1)\r
continue;\r