SequenceI[] seq;\r
String type;\r
String pwtype;\r
- AlignmentPanel ap;\r
int start;\r
int end;\r
TreeCanvas treeCanvas;\r
{\r
jalview.io.NewickFile fout = new jalview.io.NewickFile(tree.getTopNode());\r
String output = fout.print(false, true);\r
- CutAndPasteTransfer cap = new CutAndPasteTransfer(false, ap.alignFrame.applet);\r
+ CutAndPasteTransfer cap = new CutAndPasteTransfer(false, null);\r
cap.setText(output);\r
java.awt.Frame frame = new java.awt.Frame();\r
frame.add(cap);\r