Hello all, I have the following problem. I'm creating a little SVG editor and I have a seperate toolbar for the drawing tools etc. In my application I can create a grid (a group with line elements) that has to be embedded inside the svg document. The user has the abillity to toggle this grid on and off (which simply sets the visible attribute of the gridgroup). Now my problem, whenever I press the toggle button to turn on my grid (or off), the canvas won't immediately update the changes made to the DOM. It does nothing untill I move my mouse pointer over the canvas, then the repainting kicks in (immediately). I've tried calling repaint, immediateRepaint on the JSVGCanvas but that didn't help. I've also tried the repaint method on the UpdateManager class, but this caused an exception.
I'm pretty new to Java, so I'm not sure if this because the painting mechanics of Java (that the component must have focus for repaint to work), or if this is something related to batik itself. Or am I calling the wrong methods to repaint the canvas ? Any input appreciated. Thanks, Harm --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
