}
}
}
if (colorButtonRequired) {
// add the predefined list of colors to the Combo
NamedColor colors[] = NamedColor.getAllColors();
for (int i = 0; i < colors.length; i++) {
editableCombo.add(colors[i].getName());
}
}
// register a listener with the editable combo box. When notified this