JAL-3390 pull-up refactoring towards functional changes...
[jalview.git] / src / jalview / gui / AppJmol.java
index ea7fb6b..b28b81c 100644 (file)
@@ -20,6 +20,7 @@
  */
 package jalview.gui;
 
+import jalview.api.AlignmentViewPanel;
 import jalview.bin.Cache;
 import jalview.datamodel.AlignmentI;
 import jalview.datamodel.PDBEntry;
@@ -396,9 +397,9 @@ public class AppJmol extends StructureViewerBase
     }
 
     // refresh the sequence colours for the new structure(s)
-    for (AlignmentPanel ap : _colourwith)
+    for (AlignmentViewPanel avp : _colourwith)
     {
-      jmb.updateColours(ap);
+      jmb.updateColours(avp);
     }
     // do superposition if asked to
     if (alignAddedStructures)