IdentfyFile should not be static
authoramwaterhouse <Andrew Waterhouse>
Wed, 8 Mar 2006 16:53:36 +0000 (16:53 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 8 Mar 2006 16:53:36 +0000 (16:53 +0000)
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