Hi Benjamin,

Benjamin Hill wrote:

I've used the Robot class with much success to take screen shots in general, it works great (and would be ok answering questions about it if anyone has any). The problem is more along the lines of a server-side rendering of an applet or of applet components without a screen, in-memory on a server - optimally the process would be to pass an object (class: Container) to a method that returns a SVG representation of how that Container would have rendered if it were to be used in an applet.

The SVGGraphics2D package (batik.svggen) has a class called SwingSVGPrettyPrint that can take a JComponent and render it to an SVGGraphics2D (it does all the children as well).

   You will need to turn on java 'headless' mode if you don't have
a screen attached.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to