void () { if (myVcsConfigurable != null) { myVcsConfigurablePlaceholder.remove(myVcsConfigurableComponent); myVcsConfigurable.disposeUIResources(); myVcsConfigurable = null; } AbstractVcs vcs = myVCSComboBox.getItem(); if (vcs != null) { UnnamedConfigurable configurable = vcs.getRootConfigurable(myMappingCopy); if (configurable != null) { myVcsConfigurable = configurable; myVcsConfigurableComponent = Objects.requireNonNull(myVcsConfigurable.createComponent()); myVcsConfigurablePlaceholder.add(myVcsConfigurableComponent, BorderLayout.CENTER); } } pack(); }