JComponent (@NotNull JComponent target, @NotNull @NonNls String place, @NotNull ActionGroup group, boolean horizontal) { ActionToolbar toolbar = ActionManager.getInstance().createActionToolbar(place, group, horizontal); toolbar.setTargetComponent(target); return toolbar.getComponent(); }