From: amwaterhouse Date: Fri, 7 Jul 2006 13:05:15 +0000 (+0000) Subject: changeColour is public X-Git-Tag: Release_2_1~303 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=aa4136774208d405880ed4ecaa16fdd4971bb67f;p=jalview.git changeColour is public --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index c058f09..4678c51 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -141,6 +141,11 @@ public class AlignFrame } + public AlignViewport getViewport() + { + return viewport; + } + /* Set up intrinsic listeners for dynamically generated GUI bits. */ private void addServiceListeners() { @@ -1656,7 +1661,7 @@ public class AlignFrame * * @param cs DOCUMENT ME! */ - void changeColour(ColourSchemeI cs) + public void changeColour(ColourSchemeI cs) { int threshold = 0; @@ -1994,13 +1999,10 @@ public class AlignFrame */ public void removeRedundancyMenuItem_actionPerformed(ActionEvent e) { - RedundancyPanel sp = new RedundancyPanel(alignPanel, this); - JInternalFrame frame = new JInternalFrame(); - frame.setContentPane(sp); - Desktop.addInternalFrame(frame, "Redundancy threshold selection", 400, - 100, false); + new RedundancyPanel(alignPanel, this); } + /** * DOCUMENT ME! *