code: final void release(){
  		try {stopCapture();}
  		catch (StateException se) {
  			//capture already stopped 
  		}
  
  		state.release();		
  		doRelease(object);
  		state.commit();
  	}
docs: This method releases resources used by the FrameCapture object.
  @throws StateException if if this
  <code>FrameGrabber</code> has been already released, and therefore must
  not be used anymore.