ComplexEntry ceDummy = new ComplexEntryImpl(true);
//Need to first get the maximum column lengths
for (ComplexEntry complex : complexList) {
nameLen = Math.max(nameLen, complex.getName().length());
shortcutLen = Math.max(shortcutLen, complex.getShortcut().length());
typeLen = Math.max(typeLen, ceDummy.typeToString(complex.getValtype()).length());
requestableLen = Math.max(requestableLen, (complex.getRequestable() == 1) ? 2 : 3); //length of YES, NO
consumableLen = Math.max(consumableLen, (complex.getConsumable() != 0) ? 3 : 2); //length of YES/JOB, NO);
defaultLen = Math.max(defaultLen, complex.getDefault().length());
urgencyLen = Math.max(urgencyLen, complex.getUrgencyWeight().length());
}