for (Object element : session.getAllValues(linkedAttr.getName())) {
for (Object element : session.getValueContents(linkedAttr.getName())) {
	public EnumComboField(Enumeration enumeration, Session session) {		this.linkedAttr = enumeration;		this.session = session;		label = new JLabel(linkedAttr.getName());		for (Object element : session.getAllValues(linkedAttr.getName())) {			addItem(element);		}		setRenderer(new BasicComboBoxRenderer() {			public Component getListCellRendererComponent(javax.swing.JList list, Object value,					int index, boolean isSelected, boolean cellHasFocus) {				Component ret = super.getListCellRendererComponent(list, value, index, isSelected,						cellHasFocus);				if (!((Enumeration.EnumElement) value).available) {					ret.setForeground(Color.RED);				}				return ret;			}		});	}