// TODO _textComp.setAutoscrolls(true);
_textCtrl.setEnabled(_enabled);
// set font (only if changed, otherwise it makes the caret disappear)
Font nfont = _element.resolveStyle(Style.FONT);
if (_font == null || !_font.equals(nfont)) {
// we need to dispose of the previous font, if we set it
if (_font != null) _textCtrl.getFont().dispose();
_textCtrl.setFont(convert().font(_font = nfont));
}