Danny,

There are a number of things to check when serializing Swing components 
with the SVGGraphics2D. I think that the 
org.apache.batik.svggen.SwingSVGPrettyPrinter class should contain the 
answers to your questions.

Vincent.

Danny Ayers wrote:
> I've just been trying to get a Swing component to render through
> SVGGraphics2D - I'm *sure* I've done this before (or I'm losing it
> completely), but now I can only draw a blank (<g/>). I'm creating the
> generator ok, shapes/text works ok but something like :
> 
> JLabel label = new JLabel("test");
> label.paint(svgGraphics2D);
> 
> yields nothing of interest when I serialize it.
> What have I forgotten?
> 
> Cheers,
> Danny.
> 
> ---
> Danny Ayers
> <stuff> http://www.isacat.net </stuff>
> 
> Idea maps for the Semantic Web
> http://ideagraph.net
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



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

Reply via email to