xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Hardy <vincent.ha...@sun.com>
Subject Re: Quick SVGGraphics2D reminder please!
Date Wed, 21 Aug 2002 12:00:58 GMT
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: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message