From 17ba90f32be7167b12860d7c902cbd724e84b5b3 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 15 Dec 2020 18:42:37 +0000 Subject: [PATCH] JAL-3690 patch out spinning animation for web service jobs --- src/jalview/gui/WebserviceInfo.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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() -- 1.7.10.2