question: public void initContents ( ) { if ( sdCurrent != null ) { Graphics g = vImg . createGraphics ( ) ; g . clearRect ( 0 , 0 , vImg . getWidth ( ) , vImg . getHeight ( ) ) ; g . dispose ( ) ; } }
target:  Set contents of the current SurfaceData to default state (i.e. clear the background).