Scrolls if dragged off the screen
[jalview.git] / src / jalview / gui / CutAndPasteTransfer.java
index 31a756b..12f9e28 100755 (executable)
@@ -129,7 +129,7 @@ public class CutAndPasteTransfer extends GCutAndPasteTransfer
      */\r
     public void ok_actionPerformed(ActionEvent e)\r
     {\r
-        String format = IdentifyFile.Identify(getText(), "Paste");\r
+        String format = new IdentifyFile().Identify(getText(), "Paste");\r
         SequenceI[] sequences = null;\r
 \r
         if (FormatAdapter.formats.contains(format))\r