Skip to content

Commit

Permalink
small update to fix exception
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernuhlig committed Jan 4, 2017
1 parent e33a973 commit 337f2b7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
1 change: 0 additions & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -80,7 +80,7 @@ public void actionPerformed(ActionEvent e) {
JOptionPane.showMessageDialog(
null,
gameWinner,
"Game End",
"Game Over",
JOptionPane.INFORMATION_MESSAGE);
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/de/htw_berlin/HoboOthello/GUI/Gameview.java
Expand Up @@ -194,10 +194,10 @@ public Gameview(int boardSize) {
/*
* initialise all stones
*/
grey = new ImageIcon(this.getClass().getResource("/greybutton.png"));
white = new ImageIcon(this.getClass().getResource("/whitebutton.png"));
black = new ImageIcon(this.getClass().getResource("/blackbutton.png"));
hint = new ImageIcon(this.getClass().getResource("/hint.png"));
grey = new ImageIcon(this.getClass().getResource("./greybutton.png"));
white = new ImageIcon(this.getClass().getResource("./whitebutton.png"));
black = new ImageIcon(this.getClass().getResource("./blackbutton.png"));
hint = new ImageIcon(this.getClass().getResource("./hint.png"));

setupScaleFactors(fieldView.length);
setupBlackImageIcon(var);
Expand Down

0 comments on commit 337f2b7

Please sign in to comment.