public void removeAllButtonsFromToolBar(){
  buttonPanel.removeAll();
}

public void removeAllButtonsFromToolBar ( ) { buttonPanel . removeAll ( ) ; }
remove all buttons from the button panel ; used when customzing the buttons on this panel .
