void (final @NotNull ConfigurationFactory factory) { final RunConfigurable configurable = getConfigurable(); final SingleConfigurationConfigurable<RunConfiguration> configuration = configurable.createNewConfiguration(factory); if (!isVisible()) { getContentPanel().addComponentListener(new ComponentAdapter() { @Override public void componentShown(ComponentEvent e) { configurable.updateRightPanel(configuration); getContentPanel().removeComponentListener(this); } }); } }