JComboBox[] comboBoxes = {parent, syntax, approximate,
equality, ordering, substring};
Message[] defaultValues = {NO_PARENT, Message.EMPTY, NO_MATCHING_RULE,
NO_MATCHING_RULE, NO_MATCHING_RULE, NO_MATCHING_RULE
};
SchemaElementComboBoxCellRenderer renderer = new
SchemaElementComboBoxCellRenderer(syntax);
for (int i=0; i<comboBoxes.length; i++)
{
DefaultComboBoxModel model = new DefaultComboBoxModel(
new Object[]{defaultValues[i]});