From: Jim Procter Date: Wed, 30 May 2018 10:48:21 +0000 (+0100) Subject: JAL-3009 Identifiers.Org retrieval on background thread. X-Git-Tag: Release_2_10_5~52^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a0ea87b8523735d447c7aa59db5589b5ed2f8625;p=jalview.git JAL-3009 Identifiers.Org retrieval on background thread. --- diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 8be4eac..8f04576 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -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