void (PropertyChangeEvent event) { if (myComponent == null) return; if (MATCHED_PROVIDER_PROPERTY.equals(event.getPropertyName())) { setConfigurationIcon(event.getNewValue()); } else if (FOREGROUND_PROPERTY.equals(event.getPropertyName())) { myComponent.setForeground(UIUtil.getTextFieldForeground()); } myComponent.repaint(); }