JComponent (Configurable configurable) { if (configurable == null) return null; JComponent component = createConfigurableComponent(configurable); if (component == null) return null; if (configurable instanceof ConfigurableWrapper) { ReadAction.run(() -> addEPChangesListener((ConfigurableWrapper)configurable)); } return new Wrapper(configurable, component); }