From: amwaterhouse Date: Fri, 2 Dec 2005 17:06:51 +0000 (+0000) Subject: Output from newick menu item bug fixed X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a70633d40c8830236fb2b88809447fa2de997c6d;p=jalview.git Output from newick menu item bug fixed --- 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);