} else if (ev.getActionCommand().equalsIgnoreCase("viewGameOptions")) {
} else if ("viewGameOptions".equalsIgnoreCase(ev.getActionCommand())) {
    public void actionPerformed(ActionEvent ev) {        // Are we ignoring events?        if (isIgnoringEvents()) {            return;        }        if (statusBarActionPerformed(ev, client))            return;        if (!client.isMyTurn()) {            return;        }        if (ev.getSource().equals(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().setVisible(true);        } 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_MORE)) {            buttonLayout++;            buttonLayout %= NUM_BUTTON_LAYOUTS;            setupButtonPanel();        } else if (ev.getActionCommand().equals(FIRE_FIND_CLUB)) {            findClub();        } else if (ev.getActionCommand().equals(FIRE_SPOT)) {            doSpot();        } else if (ev.getActionCommand().equals(FIRE_NEXT_TARG)) {            jumpToNextTarget();        } else if (ev.getActionCommand().equals(FIRE_FLIP_ARMS)) {            updateFlipArms(!ce().getArmsFlipped());            // Fire Mode - More Fire Mode button handling - Rasia        } else if (ev.getActionCommand().equals(FIRE_MODE)) {            changeMode();        } else if ((ev.getActionCommand().equalsIgnoreCase("changeSinks"))                || (ev.getActionCommand().equals(FIRE_CANCEL))) {            clearAttacks();            clientgui.getBoardView().select(null);            clientgui.getBoardView().cursor(null);            refreshAll();        } else if (ev.getActionCommand().equals(FIRE_SEARCHLIGHT)) {            doSearchlight();        }    }