From 1081321a1184686cebd3ccfe3f255ed82af3e5c1 Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 21 Sep 2012 17:16:45 +0100 Subject: [PATCH] JAL-1165 visual delay whilst results are processed. --- src/jalview/ws/jws2/MsaWSThread.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jalview/ws/jws2/MsaWSThread.java b/src/jalview/ws/jws2/MsaWSThread.java index 65873f2..393f475 100644 --- a/src/jalview/ws/jws2/MsaWSThread.java +++ b/src/jalview/ws/jws2/MsaWSThread.java @@ -726,6 +726,8 @@ class MsaWSThread extends AWS2Thread implements WSClientI public void parseResult() { + long progbar=System.currentTimeMillis(); + wsInfo.setProgressBar("Collecting job results.", progbar); int results = 0; // number of result sets received JobStateSummary finalState = new JobStateSummary(); try @@ -846,6 +848,7 @@ class MsaWSThread extends AWS2Thread implements WSClientI wsInfo.setStatus(WebserviceInfo.STATE_STOPPED_ERROR); wsInfo.setFinishedNoResults(); } + wsInfo.setProgressBar(null, progbar); } void displayResults(boolean newFrame) -- 1.7.10.2