code: public void removeButton(Component button) {
  
          m_itemsLeft.removeComponent(button);
          m_itemsRight.removeComponent(button);
          m_leftButtons.removeComponent(button);
          m_rightButtons.removeComponent(button);
          updateFoldingThreshhold();
      }
docs: Removes the given button from the toolbar.<p>
  
  @param button the button to remove