public void windowClosed(WindowEvent e)
     {
          board.play = true;
          Window[] win = getWindows();