From 1ce2a2cae40ea74d2f76b924bf60cc8322a73607 Mon Sep 17 00:00:00 2001 From: jprocter Date: Wed, 18 Aug 2010 10:12:47 +0000 Subject: [PATCH] 1.5 annotation fix and thread safe menu update --- src/jalview/gui/AlignFrame.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index ca4a48b..3ac30ae 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -527,7 +527,6 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, SwingUtilities.invokeLater(new Runnable() { - @Override public void run() { System.err @@ -551,7 +550,9 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, }; }); // Finally, build the menu once to get current service state - BuildWebServiceMenu(); + javax.swing.SwingUtilities.invokeLater(new Runnable() { + public void run() { BuildWebServiceMenu();} + }); } public void setGUINucleotide(boolean nucleotide) -- 1.7.10.2