GetAlignment uses active alignment window
[jalview.git] / src / jalview / io / SequenceFeatureFetcher.java
index 2b6de8b..bfad646 100755 (executable)
@@ -180,14 +180,19 @@ public class SequenceFeatureFetcher implements Runnable
      // will not return any value from the OptionPane to the expired thread.\r
       if (unknownSequences.size() > 0)\r
       {\r
-        int reply = javax.swing.JOptionPane.showConfirmDialog(\r
-            Desktop.desktop, "Couldn't find a match for "+unknownSequences.size()+" sequences."\r
-                +"\nPerform blast for unknown sequences?",\r
-                    "Blast for Unidentified Sequences",\r
-                     javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.QUESTION_MESSAGE);\r
-\r
-        if(reply == javax.swing.JOptionPane.YES_OPTION)\r
-         new WSWUBlastClient(ap, align, unknownSequences);\r
+       // int reply = javax.swing.JOptionPane.showConfirmDialog(\r
+       //     Desktop.desktop, "Couldn't find a match for "+unknownSequences.size()+" sequences."\r
+        //        +"\nPerform blast for unknown sequences?",\r
+        //            "Blast for Unidentified Sequences",\r
+        //             javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.QUESTION_MESSAGE);\r
+     javax.swing.JOptionPane.showMessageDialog(\r
+    Desktop.desktop, "Couldn't find a match for "+unknownSequences.size()+" sequences.",\r
+            "Unidentified Sequences",\r
+             javax.swing.JOptionPane.WARNING_MESSAGE);\r
+\r
+\r
+      //  if(reply == javax.swing.JOptionPane.YES_OPTION)\r
+     //    new WSWUBlastClient(ap, align, unknownSequences);\r
       }\r
 \r
 \r