Use propertyListener for alignment edits
[jalview.git] / src / jalview / appletgui / AnnotationPanel.java
index c6d3b4e..6399b1c 100755 (executable)
@@ -192,6 +192,8 @@ public class AnnotationPanel
 \r
   public void paint(Graphics g)\r
   {\r
+    g.setColor(Color.white);\r
+    g.fillRect(0,0, getSize().width, getSize().height);\r
     imgWidth = (av.endRes - av.startRes + 1) * av.charWidth;\r
 \r
     if (image == null || imgWidth != image.getWidth(this))\r