From: amwaterhouse Date: Tue, 14 Dec 2004 14:52:39 +0000 (+0000) Subject: Scalepanel has new constructor X-Git-Tag: Release_2_0~827 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bfdb9a55949b38a89878959278a8b8ed82a55e49;p=jalview.git Scalepanel has new constructor --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index eda94a0..fcb5a57 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -25,7 +25,7 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene this.av = av; seqPanel = new SeqPanel (av, this); idPanel = new IdPanel (av, this); - scalePanel = new ScalePanel(av); + scalePanel = new ScalePanel(av, this); scorePanel = new ScorePanel(av); idPanelHolder.add(idPanel, BorderLayout.CENTER); @@ -99,7 +99,7 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene { Alignment al = (Alignment)av.getAlignment(); - Conservation c = new Conservation("All", al.cons, + Conservation c = new Conservation("All", ResidueProperties.propHash, 3, al.getSequences(), 0, al.getWidth() );