Hi,

On Fri, 2005-10-21 at 09:18 -0400, Bishop, Michael W. CONTR J9C880
wrote:

> public void setSize(String width, String height) {
> 
> svgDocument.getDocumentElement().setAttribute(SVGConstants.SVG_WIDTH_ATTRIBUTE,
>  width);
> svgDocument.getDocumentElement().setAttribute(SVGConstants.SVG_HEIGHT_ATTRIBUTE,
>  height);
> 
> }

I do not know why it is hang, but try to use
setAttributeNS(null,SVG_WIDTH_ATTRIBUTE,width)

Batik is namespace aware.

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to