Scalepanel has new constructor
authoramwaterhouse <Andrew Waterhouse>
Tue, 14 Dec 2004 14:52:39 +0000 (14:52 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 14 Dec 2004 14:52:39 +0000 (14:52 +0000)
src/jalview/gui/AlignmentPanel.java

index eda94a0..fcb5a57 100755 (executable)
@@ -25,7 +25,7 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene
     this.av         = av;\r
     seqPanel        = new SeqPanel  (av, this);\r
     idPanel         = new IdPanel   (av, this);\r
-    scalePanel = new ScalePanel(av);\r
+    scalePanel = new ScalePanel(av, this);\r
     scorePanel = new ScorePanel(av);\r
 \r
     idPanelHolder.add(idPanel, BorderLayout.CENTER);\r
@@ -99,7 +99,7 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene
     {\r
 \r
       Alignment al = (Alignment)av.getAlignment();\r
-      Conservation c = new Conservation("All", al.cons,\r
+      Conservation c = new Conservation("All",\r
                             ResidueProperties.propHash, 3, al.getSequences(), 0,\r
                             al.getWidth() );\r
 \r