if (ie.getSource().equals(lisTerrain)) { refreshTerrainFromList(); } else if (ie.getSource().equals(cheRoadsAutoExit)) {
if (ie.getSource().equals(cheRoadsAutoExit)) {
    public void itemStateChanged(ItemEvent ie) {        if (ie.getSource().equals(lisTerrain)) {            refreshTerrainFromList();        } else if (ie.getSource().equals(cheRoadsAutoExit)) {            // Set the new value for the option, and refrest the board.            board.setRoadsAutoExit(cheRoadsAutoExit.isSelected());            bv.updateBoard();            repaintWorkingHex();        }    }