1.5 annotation fix and thread safe menu update
authorjprocter <Jim Procter>
Wed, 18 Aug 2010 10:12:47 +0000 (10:12 +0000)
committerjprocter <Jim Procter>
Wed, 18 Aug 2010 10:12:47 +0000 (10:12 +0000)
src/jalview/gui/AlignFrame.java

index ca4a48b..3ac30ae 100755 (executable)
@@ -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)