@Override public void rendererChanged(RendererChangeEvent event){
  Plot parent=getParent();
  if (parent != null) {
    if (parent instanceof RendererChangeListener) {
      RendererChangeListener rcl=(RendererChangeListener)parent;
      rcl.rendererChanged(event);
    }
 else {
      throw new RuntimeException("The renderer has changed and I don't know what to do!");
    }
  }
 else {
    configureRangeAxes();
    PlotChangeEvent e=new PlotChangeEvent(this);
    notifyListeners(e);
  }
}

@ Override public void rendererChanged ( RendererChangeEvent event ) { Plot parent = getParent ( ) ; if ( parent != null ) { if ( parent instanceof RendererChangeListener ) { RendererChangeListener rcl = ( RendererChangeListener ) parent ; rcl . rendererChanged ( event ) ; } else { throw new RuntimeException ( "The renderer has changed and I don't know what to do!" ) ; } } else { configureRangeAxes ( ) ; PlotChangeEvent e = new PlotChangeEvent ( this ) ; notifyListeners ( e ) ; } }
receives notification of a renderer change event .
