explicitly allow access to showMemoryUsage flag in myDesktopPane
authorjprocter <Jim Procter>
Tue, 29 Jan 2008 10:12:17 +0000 (10:12 +0000)
committerjprocter <Jim Procter>
Tue, 29 Jan 2008 10:12:17 +0000 (10:12 +0000)
src/jalview/gui/Desktop.java

index cdb18e7..ff01ed6 100755 (executable)
@@ -1225,7 +1225,7 @@ public class Desktop
    * the desktop area with a red bar if free memory runs low.
    * @author AMW
    */
-  class  MyDesktopPane extends JDesktopPane implements Runnable
+  public class  MyDesktopPane extends JDesktopPane implements Runnable
   {
     
     boolean showMemoryUsage = false;
@@ -1248,7 +1248,10 @@ public class Desktop
         worker.start();
       }
     }
-
+    public boolean isShowMemoryUsage()
+    {
+      return showMemoryUsage;
+    }
     public void run()
     {
       df = java.text.NumberFormat.getNumberInstance();