I know, I’m running the whole list today!  I have another issue.  I’m trying to resize the document by setting width and height attributes:

 

public void setSize(String width, String height) {

    svgDocument.getDocumentElement().setAttribute(SVGConstants.SVG_WIDTH_ATTRIBUTE, width);

    svgDocument.getDocumentElement().setAttribute(SVGConstants.SVG_HEIGHT_ATTRIBUTE, height);

}

 

I execute the above code in the run() method of a Runnable class which I then execute in the UpdateManager.  More often than not, it causes the entire application to hang.  No button response.  No CPU spike.  No error message.  Just locks up.  With System.out, I’ve determined that the code never exits from the above setSize() method.  Does anyone have any tips on why this would happen?  Is there some kind of deadlock with running a Runnable in the UpdateManager?  All my other operations; add element, remove element, set the background element, etc. run without issue.

 

Michael Bishop

 

 

Reply via email to