Enumeration actions = dialog.getActions();
Enumeration<EntityAction> actions = dialog.getActions();
    private void beginMyTurn() {        target = null;        selectEntity(client.getFirstEntityNum());        if (!clientgui.bv.isMovingUnits()) {            clientgui.setDisplayVisible(true);        }        // There's special processing for triggering AP Pods.        if ( client.game.getTurn() instanceof GameTurn.TriggerAPPodTurn &&             null != ce() ) {            disableButtons();            TriggerAPPodDialog dialog = new TriggerAPPodDialog                ( clientgui.getFrame(), ce() );            dialog.setVisible(true);            attacks.removeAllElements();            Enumeration actions = dialog.getActions();            while ( actions.hasMoreElements() ) {                attacks.addElement( actions.nextElement() );            }            ready();        } else {            setNextEnabled(true);            butDone.setEnabled(true);            clientgui.getBoardView().select(null);        }    }