call getAllframes on desktop instance
authoramwaterhouse <Andrew Waterhouse>
Thu, 5 Apr 2007 11:21:18 +0000 (11:21 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 5 Apr 2007 11:21:18 +0000 (11:21 +0000)
src/jalview/io/VamsasDatastore.java

index f1cba4f..2632b2a 100755 (executable)
@@ -661,7 +661,7 @@ public class VamsasDatastore
       // FIND ANY ASSOCIATED TREES
       if (Desktop.desktop != null)
       {
-        javax.swing.JInternalFrame[] frames = Desktop.desktop.getAllFrames();
+        javax.swing.JInternalFrame[] frames = Desktop.instance.getAllFrames();
 
         for (int t = 0; t < frames.length; t++)
         {
@@ -937,7 +937,7 @@ public class VamsasDatastore
   {
     if (Desktop.desktop != null)
     {
-      javax.swing.JInternalFrame[] frames = Desktop.desktop.getAllFrames();
+      javax.swing.JInternalFrame[] frames = Desktop.instance.getAllFrames();
 
       for (int t = 0; t < frames.length; t++)
       {