code: public void addToolBarComponent(Component component) {
  		validateComponentNonNull(component);
  
  		if (component instanceof JButton) {
  			addButton((JButton) component);
  		} else if (component instanceof JToggleButton) {
  			addButton((JToggleButton) component);
  		} else {
  			getToolbar().add(component);
  		}
  	}
docs: Adds the given component to the tool bar.
  <p>
  The icons of the buttons ({@code JButton} and {@code JToggleButton}) added are automatically scaled.
  
  @param component the component to add.
  @throws IllegalArgumentException if the component is {@code null}.
  @since 2.6.0
  @see DisplayUtils#scaleIcon(JButton)
  @see DisplayUtils#scaleIcon(JToggleButton)