apply version 2.7 copyright
[jalview.git] / src / jalview / appletgui / AnnotationPanel.java
index fedf796..7d1333b 100755 (executable)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6)
- * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
+ * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
  * 
  * This file is part of Jalview.
  * 
@@ -532,7 +532,7 @@ public class AnnotationPanel extends Panel implements AdjustmentListener,
     {
       return;
     }
-    if (image == null || imgWidth != image.getWidth(this))
+    if (image == null || imgWidth != image.getWidth(this) || d.height != image.getHeight(this))
     {
       image = createImage(imgWidth, d.height);
       gg = image.getGraphics();