}
/** Re-applies the current Field styles to the text component. */
public void validateStyles () {
Font font = _element.resolveStyle(Style.FONT);
_textComp.setFont(new java.awt.Font(font.name(), awtFontStyle(font.style()),
FloatMath.round(font.size())));
Color col = new Color(_element.resolveStyle(Style.COLOR));
_textComp.setForeground(col);
_textComp.setCaretColor(col);