summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-06-22 01:13:01 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-06-22 01:13:01 +0200
commit7fff627d3e587bf06f9958e0f1fc2ded284a8302 (patch)
treec0b4701281ace9eaad0846a3ab351f61c237cf3e /src/jrummikub/view
parent63013dc82cc8718e40e9557cfd83991e72d72dae (diff)
downloadJRummikub-7fff627d3e587bf06f9958e0f1fc2ded284a8302.tar
JRummikub-7fff627d3e587bf06f9958e0f1fc2ded284a8302.zip
Fix stone heap bar
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@564 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view')
-rw-r--r--src/jrummikub/view/impl/SidePanel.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jrummikub/view/impl/SidePanel.java b/src/jrummikub/view/impl/SidePanel.java
index 38ff892..843ebfd 100644
--- a/src/jrummikub/view/impl/SidePanel.java
+++ b/src/jrummikub/view/impl/SidePanel.java
@@ -100,6 +100,7 @@ class SidePanel extends JPanel implements ISidePanel {
public void setHeapSize(int size) {
heapBar.setValue(size);
if (size > 0) {
+ heapBar.setIndeterminate(false);
heapBar.setString("" + size);
} else {
heapBar.setIndeterminate(true);