boardImage = createImage(view.width, view.height);
boardImage = createImage(boardSize.width, boardSize.height);
    private void updateBoardImage() {        // check to make sure image is big enough        if (boardGraph == null || view.width > boardRect.width            || view.height > boardRect.height) {            boardImage = createImage(view.width, view.height);            boardGraph = boardImage.getGraphics();            System.out.println("boardview1: made a new board buffer " + boardRect);            boardRect = new Rectangle(view);            drawHexes(view);        }        if (!boardRect.union(view).equals(boardRect)) {            moveBoardImage();        }    }