afreechart/src/main/java/org/afree/chart/plot/XYPlot.java
/**
     * Removes an annotation from the plot and sends a {@link PlotChangeEvent}
     * to all registered listeners.
     * 
     * @param annotation
     *            the annotation (<code>null</code> not permitted).
     * @param notify
     *            notify listeners?
     * 
     * @return A boolean (indicates whether or not the annotation was removed).
     * 
     * @since JFreeChart 1.0.10
     */
Removes an annotation from the plot and sends a  PlotChangeEvent
to all registered listeners.

@param annotation
the annotation (null not permitted).

@return A boolean (indicates whether or not the annotation was removed).


Removes an annotation from the plot and sends a PlotChangeEvent to all registered listeners . @param annotation the annotation ( null not permitted ) . @return A boolean ( indicates whether or not the annotation was removed ) .
public boolean removeAnnotation(XYAnnotation annotation, boolean notify) {
        if (annotation == null) {
            throw new IllegalArgumentException("Null 'annotation' argument.");
        }
        boolean removed = this.annotations.remove(annotation);
        if (removed && notify) {
            fireChangeEvent();
        }
        return removed;
    }
public boolean removeAnnotation ( XYAnnotation annotation , boolean notify ) { if ( annotation == null ) { throw new IllegalArgumentException ( "Null 'annotation' argument." ) ; } boolean removed = this . annotations . remove ( annotation ) ; if ( removed && notify ) { fireChangeEvent ( ) ; } return removed ; }
Removes an annotation from the plot and sends a {@link PlotChangeEvent}
 to all registered listeners.
Removes an annotation from the plot and sends a { @link PlotChangeEvent } to all registered listeners .