Mounted club = Compute.clubMechHas(entity); if (club == null || club.getName().endsWith("Club")) { butClub.setLabel(Messages.getString("PhysicalDisplay.Club")); } else { butClub.setLabel(club.getName());
String clubLabel = null; for(Iterator<Mounted> clubs = entity.getClubs().iterator();clubs.hasNext();) { Mounted club = clubs.next(); String thisLab; if (club.getName().endsWith("Club")) { thisLab = Messages.getString("PhysicalDisplay.Club"); } else { thisLab = club.getName(); } if(clubLabel == null) clubLabel = thisLab; else clubLabel = clubLabel + "/" + thisLab;
    public void selectEntity(int en) {        if (client.game.getEntity(en) == null) {            System.err.println("PhysicalDisplay: tried to select non-existant entity: " + en); //$NON-NLS-1$            return;        }        this.cen = en;        clientgui.setSelectedEntityNum(en);                Entity entity = ce();                target(null);        clientgui.getBoardView().highlight(ce().getPosition());        clientgui.getBoardView().select(null);        clientgui.getBoardView().cursor(null);        clientgui.mechD.displayEntity(entity);        clientgui.mechD.showPanel("movement"); //$NON-NLS-1$        clientgui.bv.centerOnHex(entity.getPosition());        // Update the menu bar.        clientgui.getMenuBar().setEntity( ce() );        // does it have a club?        Mounted club = Compute.clubMechHas(entity);        if (club == null || club.getName().endsWith("Club")) { //$NON-NLS-1$            butClub.setLabel(Messages.getString("PhysicalDisplay.Club")); //$NON-NLS-1$        } else {            butClub.setLabel(club.getName());        }        if ( (entity instanceof Mech) && !entity.isProne() && entity.getCrew().getOptions().booleanOption("dodge_maneuver") ) { //$NON-NLS-1$          setDodgeEnabled(true);        }    }