Fix stone heap bar
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@564 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
63013dc82c
commit
7fff627d3e
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ class SidePanel extends JPanel implements ISidePanel {
|
||||||
public void setHeapSize(int size) {
|
public void setHeapSize(int size) {
|
||||||
heapBar.setValue(size);
|
heapBar.setValue(size);
|
||||||
if (size > 0) {
|
if (size > 0) {
|
||||||
|
heapBar.setIndeterminate(false);
|
||||||
heapBar.setString("" + size);
|
heapBar.setString("" + size);
|
||||||
} else {
|
} else {
|
||||||
heapBar.setIndeterminate(true);
|
heapBar.setIndeterminate(true);
|
||||||
|
|
Reference in a new issue