public int adjustPanelHeight()\r
{\r
// setHeight of panels\r
- image = null;\r
AlignmentAnnotation[] aa = av.alignment.getAlignmentAnnotation();\r
int height = 0;\r
\r
{\r
if(av.updatingConsensus || av.updatingConservation)\r
{\r
+ if(image==null)\r
+ {\r
+ return;\r
+ }\r
//We'll keep a record of the old image,\r
//and draw a faded image until the calculation\r
//has completed\r