public void textbox_actionPerformed(ActionEvent e)\r
{\r
CutAndPasteTransfer cap = new CutAndPasteTransfer();\r
- JInternalFrame frame = new JInternalFrame();\r
- frame.setContentPane(cap);\r
\r
StringBuffer buffer = new StringBuffer();\r
\r
else\r
buffer.append("PID");\r
\r
- Desktop.addInternalFrame(frame,buffer.toString(), 500, 100);\r
+ Desktop.addInternalFrame(cap,buffer.toString(), 500, 100);\r
jalview.io.NewickFile fout = new jalview.io.NewickFile(tree.getTopNode());\r
cap.setText( fout.print(false,true) );\r
\r