summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/impl/PlayerPanel.java
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-31 04:45:28 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-31 04:45:28 +0200
commit66b4094d176a4ce40c28cad59f8f447badacdc72 (patch)
tree96271d5e0fcec578d679fc9b3ed17c97d6387ad2 /src/jrummikub/view/impl/PlayerPanel.java
parent98f3e09d98c93c58dc72e5c7f79ca55dcf4f87d2 (diff)
downloadJRummikub-66b4094d176a4ce40c28cad59f8f447badacdc72.tar
JRummikub-66b4094d176a4ce40c28cad59f8f447badacdc72.zip
Add bling
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@344 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/impl/PlayerPanel.java')
-rw-r--r--src/jrummikub/view/impl/PlayerPanel.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/jrummikub/view/impl/PlayerPanel.java b/src/jrummikub/view/impl/PlayerPanel.java
index 5b7eb90..e07da5f 100644
--- a/src/jrummikub/view/impl/PlayerPanel.java
+++ b/src/jrummikub/view/impl/PlayerPanel.java
@@ -379,7 +379,9 @@ class PlayerPanel extends JPanel implements IPlayerPanel {
timeBar.setVisible(show);
if (!show) {
+ handRowDownButton.setForeground(Color.GRAY);
handRowDownButton.setEnabled(false);
+ handRowUpButton.setForeground(Color.GRAY);
handRowUpButton.setEnabled(false);
endTurnButton.setVisible(false);
redealButton.setVisible(false);
@@ -394,8 +396,10 @@ class PlayerPanel extends JPanel implements IPlayerPanel {
setEndTurnMode(false, false);
endTurnButton.setText("<html><center>Computer denkt nach");
hand.setStones(Collections.<Pair<Stone,Position>>emptyList());
+ handRowDownButton.setForeground(Color.GRAY);
handRowDownButton.setEnabled(false);
- handRowDownButton.setEnabled(false);
+ handRowUpButton.setForeground(Color.GRAY);
+ handRowUpButton.setEnabled(false);
}
endTurnButton.setEnabled(enable);
redealButton.setEnabled(enable);