From 10fee0d88f1f9abdfbaae35c59f6d5aeefae9495 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 30 May 2018 11:50:19 +0100 Subject: [PATCH] =?utf8?q?JAL-3009=20news=20reader=20thread=20should=20be=20?= =?utf8?q?in=20background.=20TODO:=20patch=20newsreader=20so=20it=20uses=20G?= =?utf8?q?UI=20thread=20for=20displaying=20itself=20=3F=E2=80=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/gui/Desktop.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 8f04576..259e693 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -515,7 +515,7 @@ public class Desktop extends jalview.jbgui.GDesktop { final Desktop me = this; // Thread off the news reader, in case there are connection problems. - addDialogThread(new Runnable() + new Thread(new Runnable() { @Override public void run() @@ -526,7 +526,7 @@ public class Desktop extends jalview.jbgui.GDesktop showNews.setVisible(true); Cache.log.debug("Completed news thread."); } - }); + }).start(); } public void getIdentifiersOrgData() -- 1.7.10.2