CutAndPaste changed
authoramwaterhouse <Andrew Waterhouse>
Fri, 27 May 2005 14:05:07 +0000 (14:05 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 27 May 2005 14:05:07 +0000 (14:05 +0000)
src/jalview/gui/AnnotationLabels.java

index 22a416c..3f7b5ad 100755 (executable)
@@ -93,9 +93,7 @@ public class AnnotationLabels extends JPanel implements MouseListener, MouseMoti
    else if(evt.getActionCommand().equals(OUTPUT_TEXT))\r
    {\r
      CutAndPasteTransfer cap = new CutAndPasteTransfer();\r
-     JInternalFrame frame = new JInternalFrame();\r
-     frame.setContentPane(cap);\r
-     Desktop.addInternalFrame(frame, ap.alignFrame.getTitle()+" - "+ aa[selectedRow].label, 500, 100);\r
+     Desktop.addInternalFrame(cap, ap.alignFrame.getTitle()+" - "+ aa[selectedRow].label, 500, 100);\r
      cap.setText( aa[selectedRow].toString() );\r
    }\r
 \r