void () { myMainPanel = simplePanel(); myBrowser = new RepositoryBrowserComponent(SvnVcs.getInstance(myProject)); DefaultActionGroup group = new DefaultActionGroup(); group.add(new RepositoryBrowserDialog.MkDirAction(myBrowser) { @Override public void update(@NotNull AnActionEvent e) { super.update(e); e.getPresentation().setText(messagePointer("action.new.remote.folder.text")); } }); group.add(new RepositoryBrowserDialog.DeleteAction(myBrowser)); group.add(new RepositoryBrowserDialog.RefreshAction(myBrowser)); PopupHandler.installPopupMenu(myBrowser, group, "SvnOptionsBrowserPopup"); Splitter splitter = new Splitter(true, 0.7f); splitter.setFirstComponent(createBrowserPartWrapper()); splitter.setSecondComponent(createCommitMessageWrapper()); myMainPanel.addToCenter(splitter); ComboBox<String> messagesBox = configureRecentMessagesComponent(myProject, new ComboBox<>(), message -> { if (message != null) { myCommitMessage.setText(message); myCommitMessage.getEditorField().selectAll(); } }); myMainPanel.addToBottom( simplePanel() .addToTop(new JBLabel(message("label.recent.messages"))) .addToBottom(messagesBox) .withBorder(emptyTop(4)) ); }