clientgui.getGameOptionsDialog().show();
clientgui.getGameOptionsDialog().setVisible(true);
    public void actionPerformed(ActionEvent ev) {        // Are we ignoring events?        if ( this.isIgnoringEvents() ) {            return;        }        if ( statusBarActionPerformed(ev, client) )          return;        if (!client.isMyTurn()) {            return;        }        if (ev.getSource() == butDone) {            ready();        } else if (ev.getActionCommand().equalsIgnoreCase("viewGameOptions")) { //$NON-NLS-1$            // Make sure the game options dialog is not editable.            if ( clientgui.getGameOptionsDialog().isEditable() ) {                clientgui.getGameOptionsDialog().setEditable( false );            }            // Display the game options dialog.            clientgui.getGameOptionsDialog().update(client.game.getOptions());            clientgui.getGameOptionsDialog().show();        } else if (ev.getActionCommand().equals(FIRE_FIRE)) {            fire();        } else if (ev.getActionCommand().equals(FIRE_SKIP)) {            nextWeapon();        } else if (ev.getActionCommand().equals(FIRE_TWIST)) {            twisting = true;        } else if (ev.getActionCommand().equals(FIRE_NEXT)) {            selectEntity(client.getNextEntityNum(cen));        } else if (ev.getActionCommand().equals(FIRE_NEXT_TARG)) {            jumpToNextTarget();        } else if (ev.getActionCommand().equals(FIRE_FLIP_ARMS)) {            updateFlipArms(!ce().getArmsFlipped());        } else if (ev.getActionCommand().equals(FIRE_MODE)) {            changeMode();        } else if (ev.getActionCommand().equals(FIRE_CANCEL)) {            clearAttacks();            clientgui.getBoardView().select(null);            clientgui.getBoardView().cursor(null);            refreshAll();        } else if (ev.getActionCommand().equals(FIRE_SEARCHLIGHT)) {            doSearchlight();        }    }