boolean conservationColouring = false;
- Color[] colors;
+ Color[] colors=null;
int threshold = 0;
*/
public Color findColour(char c)
{
- return colors[ResidueProperties.aaIndex[c]];
+ return colors==null ? Color.white : colors[ResidueProperties.aaIndex[c]];
}
public Color findColour(char c, int j)