Java Swing TicTacToe