Revision: 17503
          http://sourceforge.net/p/gate/code/17503
Author:   markagreenwood
Date:     2014-03-03 12:08:11 +0000 (Mon, 03 Mar 2014)
Log Message:
-----------
fixed a Swing EDT violation

Modified Paths:
--------------
    gate/trunk/src/main/gate/gui/creole/manager/PluginUpdateManager.java

Modified: gate/trunk/src/main/gate/gui/creole/manager/PluginUpdateManager.java
===================================================================
--- gate/trunk/src/main/gate/gui/creole/manager/PluginUpdateManager.java        
2014-03-03 11:38:04 UTC (rev 17502)
+++ gate/trunk/src/main/gate/gui/creole/manager/PluginUpdateManager.java        
2014-03-03 12:08:11 UTC (rev 17503)
@@ -191,9 +191,18 @@
     if(getUserPluginsHome() == null) {
       // if the user plugin directory is not set then there is no point trying
       // to load any of the data, just disable the update/install tabs
-      tabs.setEnabledAt(1, false);
-      tabs.setEnabledAt(2, false);
-      showProgressPanel(false);
+      SwingUtilities.invokeLater(new Runnable() {
+
+        @Override
+        public void run() {
+          // TODO Auto-generated method stub
+          tabs.setEnabledAt(1, false);
+          tabs.setEnabledAt(2, false);
+          showProgressPanel(false);
+        }
+        
+      });
+      
       return;
     }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to