choiceDialog.show();
choiceDialog.setVisible(true);
    private Mounted chooseClub() {        java.util.List<Mounted> clubs = ce().getClubs();        if(clubs.size() == 1)            return clubs.get(0);        else if(clubs.size() > 1) {            String[] names = new String[ clubs.size() ];            for ( int loop = 0; loop < names.length; loop++ ) {                Mounted club = clubs.get(loop);                names[loop] = Messages.getString("PhysicalDisplay.ChooseClubDialog.line", new Object[] {                        club.getName(),                        ClubAttackAction.toHit(client.game, cen, target, club).getValueAsString(),                        ClubAttackAction.getDamageFor(ce(), club)                        });                }                        SingleChoiceDialog choiceDialog =                new SingleChoiceDialog( clientgui.frame,                        Messages.getString("PhysicalDisplay.ChooseClubDialog.title"), //$NON-NLS-1$                        Messages.getString("PhysicalDisplay.ChooseClubDialog.message"), //$NON-NLS-1$                        names );            choiceDialog.show();            if ( choiceDialog.getAnswer() == true ) {                return clubs.get( choiceDialog.getChoice() );            }        }        return null;    }