summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jrummikub/view/impl/Board.java2
-rw-r--r--src/jrummikub/view/impl/Table.java3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/jrummikub/view/impl/Board.java b/src/jrummikub/view/impl/Board.java
index be5ec26..2678204 100644
--- a/src/jrummikub/view/impl/Board.java
+++ b/src/jrummikub/view/impl/Board.java
@@ -77,10 +77,12 @@ public class Board extends JPanel implements IBoard {
@Override
public void setStones(Map<Stone, Position> stones) {
this.stones = stones;
+ repaint();
}
@Override
public void setHighlightedStones(Collection<Stone> stones) {
highlightedStones = stones;
+ repaint();
}
}
diff --git a/src/jrummikub/view/impl/Table.java b/src/jrummikub/view/impl/Table.java
index 653167e..8e12569 100644
--- a/src/jrummikub/view/impl/Table.java
+++ b/src/jrummikub/view/impl/Table.java
@@ -57,12 +57,13 @@ public class Table extends JPanel implements ITable {
@Override
public void setStoneSets(Map<StoneSet, Position> stoneSets) {
this.stoneSets = stoneSets;
+ repaint();
}
@Override
public void setHighlightedStones(Collection<Stone> stones) {
highlightedStones = stones;
-
+ repaint();
}
@Override