Revision: 20018
          http://sourceforge.net/p/gate/code/20018
Author:   markagreenwood
Date:     2017-01-30 17:14:03 +0000 (Mon, 30 Jan 2017)
Log Message:
-----------
running the updates on the EDT explicitly seems to be causeing problems, as it 
seems that the events are being triggered by the EDT anyway. No matter how much 
I work on classloaders I still hate them.... possibly more than maven and git 
combined!

Modified Paths:
--------------
    gate/branches/sawdust2/gate-core/src/main/java/gate/gui/MainFrame.java

Modified: gate/branches/sawdust2/gate-core/src/main/java/gate/gui/MainFrame.java
===================================================================
--- gate/branches/sawdust2/gate-core/src/main/java/gate/gui/MainFrame.java      
2017-01-30 16:16:25 UTC (rev 20017)
+++ gate/branches/sawdust2/gate-core/src/main/java/gate/gui/MainFrame.java      
2017-01-30 17:14:03 UTC (rev 20018)
@@ -1946,9 +1946,9 @@
     final Resource res = e.getResource();
     if(Gate.getHiddenAttribute(res.getFeatures())
       || res instanceof VisualResource) return;
-    SwingUtilities.invokeLater(new Runnable() {
-      @Override
-      public void run() {
+    //SwingUtilities.invokeLater(new Runnable() {
+    //  @Override
+    //  public void run() {
         
         NameBearerHandle handle = null;
         
@@ -1970,8 +1970,8 @@
 
         if (handle != null) handle.addProgressListener(MainFrame.this);
         if (handle != null) handle.addStatusListener(MainFrame.this);
-      }
-    });
+     // }
+    //});
 
     // JPopupMenu popup = handle.getPopup();
     //

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
GATE-cvs mailing list
GATE-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to