Author: mes
Date: 2012-05-24 13:16:55 -0700 (Thu, 24 May 2012)
New Revision: 29342

Modified:
   
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkViewManager.java
Log:
changed an invokeAndWait to invokeLater

Modified: 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkViewManager.java
===================================================================
--- 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkViewManager.java
   2012-05-24 20:12:48 UTC (rev 29341)
+++ 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkViewManager.java
   2012-05-24 20:16:55 UTC (rev 29342)
@@ -310,18 +310,12 @@
                                        "(Current View Threshold = " + 
viewThreshold + ")");
                        // TODO: Should we cancel visualization?
                }
-               try {
-                       SwingUtilities.invokeAndWait(new Runnable() {
-                               @Override
-                               public void run() {
-                                       render(networkView);
-                               }
-                       });
-               } catch (InterruptedException e) {
-                       throw new RuntimeException("Rendering interrupted.", e);
-               } catch (InvocationTargetException e) {
-                       throw new RuntimeException("Failed to render network 
view.", e);
-               }
+               SwingUtilities.invokeLater(new Runnable() {
+                       @Override
+                       public void run() {
+                               render(networkView);
+                       }
+               });
        }
 
        private final void removeView(final CyNetworkView view) {

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to