component = comboBox;
} else {
component = new ColorizedTextField(background);
}
} else if (element instanceof StringOperationElement) {
StringOperationElement stringElement = (StringOperationElement) element;
boolean acceptExp = stringElement.acceptPtolemyExpression();
Color background;
if (acceptExp) {
background = _PTOLEMY_EXPRESSION_BACKGROUND;
} else {
background = _NON_REGULAR_EXPRESSION_BACKGROUND;