code: public void removeToolBarComponent(Component component) {
  		validateComponentNonNull(component);
  
  		getToolbar().remove(component);
  		getToolbar().validate();
  		getToolbar().repaint();
  	}
docs: Removes the given component to the tool bar.
  
  @param component the component to remove.
  @throws IllegalArgumentException if the component is {@code null}.
  @since 2.6.0