question: public BufferedImage createBufferedImage ( int width , int height , int imageType , ChartRenderingInfo info ) { BufferedImage image = new BufferedImage ( width , height , imageType ) ; Graphics2D g2 = image . createGraphics ( ) ; draw ( g2 , new Rectangle2D . Double ( 0 , 0 , width , height ) , null , info ) ; g2 . dispose ( ) ; return image ; }
target:  Creates and returns a buffered image into which the chart has been drawn.