xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: SVG and JLayeredPane
Date Tue, 01 Feb 2005 02:12:28 GMT
Hi Jim,

    I would suggest trying to use the SwingSVGPrettyPrint class to
get and SVG 'dump' of your JLayeredPane.  Otherwise, I would look
at the src.jar that comes with the JDK distribution to see
what is going on at line 539 in JLayeredPane.java.

Snyder, Jim ( GE Transportation ) wrote:

> I was able to get Batik to generate an SVG text output using the 
> following algorithm (from the Batik website) on java components 
> such as a JPanel ( the this instance is of JPanel). 

> However when I apply the same algorithm (the this instance is of 
> MY_JLAYEREDPANE, which extends JLayeredPane) to a JLayeredPane I 
> get the following exception:
> java.lang.NullPointerException
>  	at javax.swing.JLayeredPane.paint(JLayeredPane.java:539)

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

View raw message