docs: private boolean renderURL(URL urlstring, URL baseUrl, OutputStream out)
  			throws IOException, SAXException {
  		// Open the network connection
  		DocumentSource docSource = new DefaultDocumentSource(urlstring);
  
  
  		// Parse the input document
  		DOMSource parser = new DefaultDOMSource(docSource);
  		Document doc = parser.parse();
  
  		// create the media specification
  		MediaSpec media = new MediaSpec(mediaType);
  		media.setDimensions(windowSize.width, windowSize.height);
  		media.setDeviceDimensions(windowSize.width, windowSize.height);
  
  		// Create the CSS analyzer
  		DOMAnalyzer da = new DOMAnalyzer(doc, baseUrl);
  		da.setMediaSpec(media);
  		da.attributesToStyles(); // convert the HTML presentation attributes to
  									// inline styles
  		da.addStyleSheet(baseUrl, CSSNorm.stdStyleSheet(),
  				DOMAnalyzer.Origin.AGENT); // use the standard style sheet
  		da.addStyleSheet(null, CSSNorm.userStyleSheet(),
  				DOMAnalyzer.Origin.AGENT); // use the additional style sheet
  		da.addStyleSheet(null, CSSNorm.formsStyleSheet(),
  				DOMAnalyzer.Origin.AGENT); // render form fields using css
  		da.getStyleSheets(); // load the author style sheets
  
  		BrowserCanvas contentCanvas = new BrowserCanvas(da.getRoot(), da,
  				baseUrl);
  		// contentCanvas.setAutoMediaUpdate(false); // we have a correct media
  		// // specification, do not
  		// // update
  		contentCanvas.getConfig().setClipViewport(cropWindow);
  		contentCanvas.getConfig().setLoadImages(loadImages);
  		contentCanvas.getConfig().setLoadBackgroundImages(loadBackgroundImages);
  		contentCanvas.setPreferredSize(new Dimension(windowSize.width, 10));
  		contentCanvas.setAutoSizeUpdate(true);
  
  		setDefaultFonts(contentCanvas.getConfig());
  
  		contentCanvas.createLayout(windowSize);
  		contentCanvas.validate();
  		ImageIO.write(contentCanvas.getImage(), "png", out);
  
  		// Image image = contentCanvas.createImage(windowSize.width,
  		// windowSize.height);
  
  		docSource.close();
  
  		return true;
  	}