From: Jim Procter Date: Tue, 15 Dec 2020 18:42:37 +0000 (+0000) Subject: JAL-3690 patch out spinning animation for web service jobs X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=17ba90f32be7167b12860d7c902cbd724e84b5b3;p=jalview.git JAL-3690 patch out spinning animation for web service jobs --- diff --git a/src/jalview/gui/WebserviceInfo.java b/src/jalview/gui/WebserviceInfo.java index b88102e..b9b42dc 100644 --- a/src/jalview/gui/WebserviceInfo.java +++ b/src/jalview/gui/WebserviceInfo.java @@ -22,6 +22,7 @@ package jalview.gui; import jalview.jbgui.GWebserviceInfo; import jalview.util.MessageManager; +import jalview.util.Platform; import jalview.ws.WSClientI; import java.awt.BorderLayout; @@ -350,9 +351,12 @@ public class WebserviceInfo extends GWebserviceInfo titlePanel.add(ap, BorderLayout.WEST); titlePanel.add(titleText, BorderLayout.CENTER); setStatus(currentStatus); - - Thread thread = new Thread(ap); - thread.start(); + if (!Platform.isJS()) + { + // No animation for the moment// + Thread thread = new Thread(ap); + thread.start(); + } final WebserviceInfo thisinfo = this; frame.addInternalFrameListener( new InternalFrameAdapter()