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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
