ed.show();
ed.setVisible(true);
    public void actionPerformed(ActionEvent ae) {        if (ae.getActionCommand().equalsIgnoreCase("fileBoardNew")) { //$NON-NLS-1$            boardNew();        } else if (ae.getActionCommand().equalsIgnoreCase("fileBoardOpen")) { //$NON-NLS-1$            boardLoad();                                                    } else if (ae.getActionCommand().equalsIgnoreCase("fileBoardSave")) { //$NON-NLS-1$            boardSave();                                                    } else if (ae.getActionCommand().equalsIgnoreCase("fileBoardSaveAs")) { //$NON-NLS-1$            boardSaveAs();        } else if (ae.getActionCommand().equalsIgnoreCase("fileBoardSaveAsImage")) { //$NON-NLS-1$            boardSaveAsImage();        } else if (ae.getSource() == butDelTerrain && lisTerrain.getSelectedItem() != null) {            ITerrain toRemove = Terrains.getTerrainFactory().createTerrain(lisTerrain.getSelectedItem());            curHex.removeTerrain(toRemove.getType());            refreshTerrainList();            repaintWorkingHex();        } 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()));            repaintWorkingHex();        } else if (ae.getSource() == butElevDown && curHex.getElevation() > -5) {            curHex.setElevation(curHex.getElevation() - 1);            texElev.setText(Integer.toString(curHex.getElevation()));            repaintWorkingHex();        } 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.getActionCommand().equalsIgnoreCase("viewMiniMap")) { //$NON-NLS-1$            toggleMap();        } else if (ae.getActionCommand().equals(ClientGUI.VIEW_ZOOM_IN)) {            bv.zoomIn();        } else if (ae.getActionCommand().equals(ClientGUI.VIEW_ZOOM_OUT)) {            bv.zoomOut();        } else if (ae.getActionCommand().equalsIgnoreCase("helpAbout")) { //$NON-NLS-1$            showAbout();        } else if (ae.getActionCommand().equalsIgnoreCase("helpContents")) { //$NON-NLS-1$            showHelp();        } else if (ae.getActionCommand().equalsIgnoreCase("viewClientSettings")) { //$NON-NLS-1$            showSettings();        }    }