void () { super.updateUI(); if (myEditorPane != null) { //init inner components again (if any) to provide proper colors when LAF is being changed setCopyable(false); setCopyable(true); } GraphicsUtil.setAntialiasingType(this, AntialiasingType.getAAHintForSwingComponent()); }