Revision: 19151
http://sourceforge.net/p/gate/code/19151
Author: markagreenwood
Date: 2016-03-17 18:25:58 +0000 (Thu, 17 Mar 2016)
Log Message:
-----------
move GUI updating inthe coref editor onto the EDT
Modified Paths:
--------------
gate/trunk/src/main/gate/gui/docview/CorefEditor.java
Modified: gate/trunk/src/main/gate/gui/docview/CorefEditor.java
===================================================================
--- gate/trunk/src/main/gate/gui/docview/CorefEditor.java 2016-03-17
10:47:00 UTC (rev 19150)
+++ gate/trunk/src/main/gate/gui/docview/CorefEditor.java 2016-03-17
18:25:58 UTC (rev 19151)
@@ -490,7 +490,16 @@
// and return
reinitAllVariables();
explicitCall = false;
- annotSets.setSelectedIndex(0);
+
+ SwingUtilities.invokeLater(new Runnable(){
+ @Override
+ public void run() {
+ // not sure why this is necessary but if we are going to do
+ // it then at least do it on the EDT to avoid a violation
+ annotSets.setSelectedIndex(0);
+ }
+ });
+
return;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs