void (boolean enabled) { if (myDisabledHtml != null) { myEnabled = enabled; if (myEnabled) { setText(myEnabledHtml); } else { setText(myDisabledHtml); } super.setEnabled(true); } else { super.setEnabled(enabled); } }