Program: 75932
Project: 75932
Buggy source:
/** 
 * Specify the container into which this plot should be placed. This method needs to be called before the first call to initialize(). Otherwise, the plot will be placed in its own frame. The plot is also placed in its own frame if this method is called with a null argument.  The size of the plot, unfortunately, cannot be effectively determined from the size of the container because the container may not yet be laid out (its size will be zero).  Thus, you will have to explicitly set the size of the plot by calling plot.setSize(). The background of the plot is set equal to that of the container (unless it is null). <p> If configure() has been called (prior to the plot getting created), then the configurations that it specified have been deferred. Those configurations are performed at this time.
 * @param container The container into which to place the plot.
 */
public void place(Container container){
  _container=container;
  _placeCalled=true;
  if (_container == null) {
    plot=new Plot();
    _frame=new PlotFrame(getFullName(),plot);
    _frame.setVisible(true);
  }
 else {
    if (_container instanceof Plot) {
      plot=(Plot)_container;
    }
 else {
      if (plot == null) {
        plot=new Plot();
        plot.setButtons(true);
      }
      _container.add(plot);
      plot.setBackground(null);
    }
  }
  if (_configureSources != null) {
    Iterator sources=_configureSources.iterator();
    Iterator texts=_configureTexts.iterator();
    Iterator bases=_configureBases.iterator();
    while (sources.hasNext()) {
      URL base=(URL)bases.next();
      String source=(String)sources.next();
      String text=(String)texts.next();
      try {
        configure(base,source,text);
      }
 catch (      Exception ex) {
        getManager().notifyListenersOfException(ex);
      }
    }
    _configureSources=null;
    _configureTexts=null;
    _configureBases=null;
  }
  try {
    attributeChanged(legend);
  }
 catch (  IllegalActionException ex) {
  }
}

Fixed version (ground truth):
/** 
 * Specify the container into which this plot should be placed. This method needs to be called before the first call to initialize(). Otherwise, the plot will be placed in its own frame. The plot is also placed in its own frame if this method is called with a null argument.  The size of the plot, unfortunately, cannot be effectively determined from the size of the container because the container may not yet be laid out (its size will be zero).  Thus, you will have to explicitly set the size of the plot by calling plot.setSize(). The background of the plot is set equal to that of the container (unless it is null). <p> If configure() has been called (prior to the plot getting created), then the configurations that it specified have been deferred. Those configurations are performed at this time.
 * @param container The container into which to place the plot.
 */
public void place(Container container){
  _container=container;
  _placeCalled=true;
  if (_container == null) {
    plot=new Plot();
    plot.setButtons(true);
    _frame=new PlotFrame(getFullName(),plot);
    _frame.setVisible(true);
  }
 else {
    if (_container instanceof Plot) {
      plot=(Plot)_container;
      plot.setButtons(true);
    }
 else {
      if (plot == null) {
        plot=new Plot();
      }
      plot.setButtons(true);
      _container.add(plot);
      plot.setBackground(null);
    }
  }
  if (_configureSources != null) {
    Iterator sources=_configureSources.iterator();
    Iterator texts=_configureTexts.iterator();
    Iterator bases=_configureBases.iterator();
    while (sources.hasNext()) {
      URL base=(URL)bases.next();
      String source=(String)sources.next();
      String text=(String)texts.next();
      try {
        configure(base,source,text);
      }
 catch (      Exception ex) {
        getManager().notifyListenersOfException(ex);
      }
    }
    _configureSources=null;
    _configureTexts=null;
    _configureBases=null;
  }
  try {
    attributeChanged(legend);
  }
 catch (  IllegalActionException ex) {
  }
}