public Color findColour(String n)\r
{\r
System.out.println("AnnotationColourGradient findColour(string)");\r
- return Color.RED;\r
+ return Color.red;\r
}\r
\r
/**\r
{\r
if ((threshold == 0) || aboveThreshold(n, j))\r
{\r
- if(annotation.annotations[j]==null)\r
+ if( j+1>annotation.annotations.length || annotation.annotations[j]==null)\r
currentColour = Color.white;\r
else\r
{\r