return makeLength(ms.getModel(), 10) + " " + makeLength(ms.getChassis(), 20) + " " + makeLength("" + ms.getTons(), 3) + " " + makeLength("" + ms.getBV(),5)+" "+ ms.getYear() + " " + levelOrValid + " " + ms.getCost() + " ";
if (GUIPreferences.getInstance().getMechSelectorIncludeModel()) val += makeLength(ms.getModel(), 10) + " "; if (GUIPreferences.getInstance().getMechSelectorIncludeName()) val += makeLength(ms.getChassis(), 20) + " "; if (GUIPreferences.getInstance().getMechSelectorIncludeTons()) val += makeLength("" + ms.getTons(), 3) + " "; if (GUIPreferences.getInstance().getMechSelectorIncludeBV()) val += makeLength("" + ms.getBV(),5) + " "; if (GUIPreferences.getInstance().getMechSelectorIncludeYear()) val += ms.getYear() + " "; if (GUIPreferences.getInstance().getMechSelectorIncludeLevel()) val += levelOrValid + " "; if (GUIPreferences.getInstance().getMechSelectorIncludeCost()) val += ms.getCost() + " "; return val;
    private String formatMech(MechSummary ms)    {        String levelOrValid;        if (!ms.getLevel().equals("F")) {            levelOrValid = TechConstants.T_SIMPLE_LEVEL[ms.getType()];        } else {            levelOrValid = "F";        }        return makeLength(ms.getModel(), 10) + " " +  //$NON-NLS-1$                makeLength(ms.getChassis(), 20) + " " +  //$NON-NLS-1$                makeLength("" + ms.getTons(), 3) + " " +  //$NON-NLS-1$ //$NON-NLS-2$                makeLength("" + ms.getBV(),5)+" "+ //$NON-NLS-1$ //$NON-NLS-2$            ms.getYear() + " " +            levelOrValid + " " +            ms.getCost() + " ";    }