} else if (ae.getSource() == butMiniMap) {
} else if (ae.getActionCommand().equalsIgnoreCase("viewMiniMap")) {
    public void actionPerformed(ActionEvent ae) {        if (ae.getSource() == butBoardNew) {            boardNew();        } else if (ae.getSource() == butBoardLoad) {            boardLoad();        } else if (ae.getSource() == butBoardSave) {            boardSave();        } else if (ae.getSource() == butBoardSaveAs) {            boardSaveAs();        } else if (ae.getSource() == butDelTerrain && lisTerrain.getSelectedItem() != null) {            Terrain toRemove = new Terrain(lisTerrain.getSelectedItem());            curHex.removeTerrain(toRemove.getType());            refreshTerrainList();            canHex.repaint();        } else if (ae.getSource() == butAddTerrain) {            addSetTerrain();        } else if (ae.getSource() == butElevUp && curHex.getElevation() < 9) {            curHex.setElevation(curHex.getElevation() + 1);            texElev.setText(Integer.toString(curHex.getElevation()));            canHex.repaint();        } else if (ae.getSource() == butElevDown && curHex.getElevation() > -5) {            curHex.setElevation(curHex.getElevation() - 1);            texElev.setText(Integer.toString(curHex.getElevation()));            canHex.repaint();        } else if (ae.getSource() == butTerrExits) {            ExitsDialog ed = new ExitsDialog(frame);            cheTerrExitSpecified.setState(true);            ed.setExits(Integer.parseInt(texTerrExits.getText()));            ed.show();            texTerrExits.setText(Integer.toString(ed.getExits()));            addSetTerrain();        } else if (ae.getSource() == butMiniMap) {            toggleMap();        }    }