diff options
Diffstat (limited to 'src/jrummikub/view/impl/PlayerPanel.java')
-rw-r--r-- | src/jrummikub/view/impl/PlayerPanel.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jrummikub/view/impl/PlayerPanel.java b/src/jrummikub/view/impl/PlayerPanel.java index 0a7e64a..385356b 100644 --- a/src/jrummikub/view/impl/PlayerPanel.java +++ b/src/jrummikub/view/impl/PlayerPanel.java @@ -96,7 +96,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel { sortByNumberButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { - sortByNumberEvent.fire(); + sortByNumberEvent.emit(); } }); leftPanel.add(sortByNumberButton); @@ -107,7 +107,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel { sortByColorButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { - sortByColorEvent.fire(); + sortByColorEvent.emit(); } }); leftPanel.add(sortByColorButton); @@ -131,7 +131,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel { endTurnButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { - endTurnEvent.fire(); + endTurnEvent.emit(); } }); |