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:
c8feb12
)
immediately show memory usage
author
jprocter
<Jim Procter>
Mon, 5 Oct 2009 16:06:30 +0000
(16:06 +0000)
committer
jprocter
<Jim Procter>
Mon, 5 Oct 2009 16:06:30 +0000
(16:06 +0000)
src/jalview/gui/Desktop.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Desktop.java
b/src/jalview/gui/Desktop.java
index
74a46f7
..
e499326
100755
(executable)
--- a/
src/jalview/gui/Desktop.java
+++ b/
src/jalview/gui/Desktop.java
@@
-1508,7
+1508,6
@@
public class Desktop extends jalview.jbgui.GDesktop implements
{
try
{
- Thread.sleep(3000);
maxMemory = runtime.maxMemory() / 1048576f;
allocatedMemory = runtime.totalMemory() / 1048576f;
freeMemory = runtime.freeMemory() / 1048576f;
@@
-1523,7
+1522,8
@@
public class Desktop extends jalview.jbgui.GDesktop implements
// instance.set.setBorder(border1);
}
repaint();
-
+ // sleep after showing usage
+ Thread.sleep(3000);
} catch (Exception ex)
{
ex.printStackTrace();