git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
051cb04
)
explicitly allow access to showMemoryUsage flag in myDesktopPane
author
jprocter
<Jim Procter>
Tue, 29 Jan 2008 10:12:17 +0000
(10:12 +0000)
committer
jprocter
<Jim Procter>
Tue, 29 Jan 2008 10:12:17 +0000
(10:12 +0000)
src/jalview/gui/Desktop.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Desktop.java
b/src/jalview/gui/Desktop.java
index
cdb18e7
..
ff01ed6
100755
(executable)
--- a/
src/jalview/gui/Desktop.java
+++ b/
src/jalview/gui/Desktop.java
@@
-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();