public void removePlotToolBar(){
  if (plotToolBar == null) {
    return;
  }
  remove(plotToolBar);
}

public void removePlotToolBar ( ) { if ( plotToolBar == null ) { return ; } remove ( plotToolBar ) ; }
removes the plot toolbar from the panel .
