JAL-3322 replaced invokeAndWait(r) with r.run() and fixed nullpointer error in jvl...
[jalview.git] / getdown / src / getdown / launcher / src / main / java / com / threerings / getdown / launcher / Getdown.java
index fdf4b15..0af0360 100644 (file)
@@ -1116,13 +1116,15 @@ public abstract class Getdown extends Thread
       }
       if (! (_ifc == null) && _ifc.progressSync) {
         try {
-          EventQueue.invokeAndWait(r);
+          //EventQueue.invokeAndWait(r);
+          r.run();
         } catch (Exception e) {
           log.warning("Tried to invokeAndWait but couldn't. Going to invokeLater instead", "Exception", e.getMessage());
           EventQueue.invokeLater(r);
         }
       } else {
-        EventQueue.invokeLater(r);
+        //EventQueue.invokeLater(r);
+        r.run();
       }
       
     }