I am not sure you are providing your rootGraphicsNode with the proper
Graphics object.
public void paint(Graphics g) {
this.g = (Graphics2D) g;
}
I don't think you need to override the paint() method in your class,
public void gvtBuildCompleted(GVTTreeBuilderEvent e) {
gvtTreeWalker = new GVTTreeWalker(svgCanvas.getGraphicsNode());
gvtTreeWalker.getRoot().paint(this.g);
}
instead, change the last line to:
gvtTreeWalker.getRoot().paint(this.getGraphics());
to get access to this components Graphics object.
Andres.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]