JComponent () { final JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEFT, 0, 0)); panel.add(myCheckbox); panel.add(myComboBox); panel.add(Box.createHorizontalStrut(UIUtil.DEFAULT_HGAP)); panel.add(new ActionLink(VcsBundle.message("configurable.vcs.manage.scopes"), e -> { Settings settings = Settings.KEY.getData(DataManager.getInstance().getDataContext(panel)); if (settings != null) { settings.select(settings.find(ScopeChooserConfigurable.PROJECT_SCOPES)); } })); return panel; }