}else if (e instanceof Infantry || e instanceof Mech) {
}else if (e instanceof Infantry || e instanceof Mech || e instanceof GunEmplacement) {
    protected String getIconName(Entity e, FontMetrics fm) {        if (e instanceof BattleArmor) {            String iconName = e.getShortName();                             if (fm.stringWidth(iconName) > ICON_NAME_MAX_LENGTH) {                Vector v = StringUtil.splitString(iconName, " "); //$NON-NLS-1$                iconName = (String) v.elementAt(0);                if (iconName.equals("Clan")) {                    iconName = (String) v.elementAt(1);                }            }            return adjustString(iconName,fm);        } else if (e instanceof Protomech) {            String iconName = e.getChassis() + " " + e.getModel(); //$NON-NLS-1$            return adjustString(iconName,fm);        } else if (e instanceof Tank) {                             String iconName = e.getShortName();                        if (fm.stringWidth(iconName) > ICON_NAME_MAX_LENGTH) {                Vector v = StringUtil.splitString(iconName, " "); //$NON-NLS-1$                iconName = (String) v.elementAt(0);            }            return adjustString(iconName,fm);        }else if (e instanceof Infantry || e instanceof Mech) {            String iconName = e.getModel();            return adjustString(iconName,fm);        }        return "!!Unknown!!";    }