Hi, On Mon, 2006-05-15 at 04:54 +0000, Selva wrote: > svgCanvas.transformHistory.update(_svgCanvas.getRenderingTransform()); > _svgCanvas.previousTransformAction.update(); > _svgCanvas.nextTransformAction.update(); > > but when i perform previousTransformAction and nextTransformAction, it's not > updating the positions.
Rather than called update(), call actionPerformed(evt) instead. If you look at the source code, update() is only setting whether the action will be enabled or not. The real action in on actionPerformed, since it is a subclass of standard Java Action. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
