is this what you mean? public void initComponents() { svgCanvas = new JSVGCanvas(); svgCanvas.setDocumentState(JSVGCanvas.ALWAYS_DYNAMIC); registerListeners();
DOMImplementation impl = SVGDOMImplementation.getDOMImplementation(); doc = (SVGDocument)impl.createDocument(svgNS, "svg", null); svgCanvas.setDocument(doc); } if so, its still not updating.. what i also want to happen is when i press a button, i want a specific layer to be on top. that only happens when i press the button and move my mouse on the canvas.. -- View this message in context: http://www.nabble.com/how-to-update-SVGCanvas-without-moving-mouse-on-canvas--tf3975725.html#a11294545 Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]