From a70633d40c8830236fb2b88809447fa2de997c6d Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 2 Dec 2005 17:06:51 +0000 Subject: [PATCH] Output from newick menu item bug fixed --- src/jalview/appletgui/TreePanel.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jalview/appletgui/TreePanel.java b/src/jalview/appletgui/TreePanel.java index 6eeb3d8..99ad412 100755 --- a/src/jalview/appletgui/TreePanel.java +++ b/src/jalview/appletgui/TreePanel.java @@ -33,7 +33,6 @@ public class TreePanel extends Frame SequenceI[] seq; String type; String pwtype; - AlignmentPanel ap; int start; int end; TreeCanvas treeCanvas; @@ -168,7 +167,7 @@ public class TreePanel extends Frame { jalview.io.NewickFile fout = new jalview.io.NewickFile(tree.getTopNode()); String output = fout.print(false, true); - CutAndPasteTransfer cap = new CutAndPasteTransfer(false, ap.alignFrame.applet); + CutAndPasteTransfer cap = new CutAndPasteTransfer(false, null); cap.setText(output); java.awt.Frame frame = new java.awt.Frame(); frame.add(cap); -- 1.7.10.2