JAL-1165 visual delay whilst results are processed.
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 21 Sep 2012 16:16:45 +0000 (17:16 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 21 Sep 2012 16:16:45 +0000 (17:16 +0100)
src/jalview/ws/jws2/MsaWSThread.java

index 65873f2..393f475 100644 (file)
@@ -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)