public final void before( ) throws ChartException
public void before( ) throws ChartException
	public final void before( ) throws ChartException	{		super.before( );		_bImageExternallySpecified = ( _img != null );		// IF A CACHED IMAGE STRATEGY IS NOT USED, CREATE A NEW INSTANCE		// EVERYTIME		if ( !_bImageExternallySpecified )		{			if ( _bo == null ) // BOUNDS MUST BE SPECIFIED BEFORE RENDERING			// BEGINS			{				throw new ChartException( ChartDeviceExtensionPlugin.ID,						ChartException.RENDERING,						"exception.no.bounds", //$NON-NLS-1$						ResourceBundle.getBundle( Messages.DEVICE_EXTENSION,								getLocale( ) ) );			}			// CREATE THE IMAGE INSTANCE			_img = new BufferedImage( (int) _bo.getWidth( ),					(int) _bo.getHeight( ),					getImageType( ) );		}		super.setProperty( IDeviceRenderer.GRAPHICS_CONTEXT, _img.getGraphics( ) );	}