boardGraph.dispose();
    public Image getEntireBoardImage() {        Image entireBoard = createImage(boardSize.width, boardSize.height);        Graphics temp = boardImage.getGraphics();        boardGraph = entireBoard.getGraphics();        drawHexes(new Rectangle(boardSize));        boardGraph = temp;        return entireBoard;    }