JAL-3009 Identifiers.Org retrieval on background thread.
authorJim Procter <jprocter@issues.jalview.org>
Wed, 30 May 2018 10:48:21 +0000 (11:48 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 5 Jun 2018 16:24:21 +0000 (17:24 +0100)
src/jalview/gui/Desktop.java

index 8be4eac..8f04576 100644 (file)
@@ -532,7 +532,7 @@ public class Desktop extends jalview.jbgui.GDesktop
   public void getIdentifiersOrgData()
   {
     // Thread off the identifiers fetcher
-    addDialogThread(new Runnable()
+    new Thread(new Runnable()
     {
       @Override
       public void run()
@@ -549,7 +549,8 @@ public class Desktop extends jalview.jbgui.GDesktop
                   + e.getMessage());
         }
       }
-    });
+    }).start();
+    ;
   }
 
   @Override