public static JComponent createEmptyToolbar(boolean horizontal, JComponent targetComponent) {
    DefaultActionGroup actionGroup = new DefaultActionGroup();
    actionGroup.add(EMPTY_ACTION);
    ActionToolbar toolbar = ActionManager.getInstance().createActionToolbar(ActionPlaces.TOOLBAR, actionGroup, horizontal);
    toolbar.setTargetComponent(targetComponent);
    return horizontal ? ServiceViewUIUtils.wrapServicesAligned(toolbar) : toolbar.getComponent();
  }
public static JComponent createEmptyToolbar(boolean horizontal, JComponent targetComponent)