Merge branch 'bug/JAL-2634' into develop
[jalview.git] / src / jalview / appletgui / AnnotationPanel.java
index 39b718d..417bb06 100755 (executable)
@@ -634,7 +634,7 @@ public class AnnotationPanel extends Panel implements AwtRenderPanelI,
 
   public void fastPaint(int horizontal)
   {
-    if (horizontal == 0
+    if (horizontal == 0 || gg == null
             || av.getAlignment().getAlignmentAnnotation() == null
             || av.getAlignment().getAlignmentAnnotation().length < 1)
     {