SplitEditorToolbar (@NotNull JComponent targetComponentForActions) { ActionToolbar leftToolbar = createToolbarFromGroupId("Markdown.Toolbar.Left"); leftToolbar.setTargetComponent(targetComponentForActions); leftToolbar.setReservePlaceAutoPopupIcon(false); ActionToolbar rightToolbar = createToolbarFromGroupId("Markdown.Toolbar.Right"); rightToolbar.setTargetComponent(targetComponentForActions); rightToolbar.setReservePlaceAutoPopupIcon(false); return new SplitEditorToolbar(leftToolbar, rightToolbar); }