void (String hintText) { myTextField.removeExtension(myHintExtension); myTextField.removeExtension(myWarningExtension); if (StringUtil.isNotEmpty(hintText)) { myHintTextIcon.setText(hintText); addExtensionAsLast(myHintExtension); } }