Hi!

I've been crawling through the mail archives and I can't seem to find an answer to my question. Please forgive me if this has been asked a hojillion times already:

I'm trying to dynamically control the SVG document through the DOM API. For instance, say I have a JTextField and when the user types in an id, I do this:

String id = textfield.getText();
Element elt = svgdoc.getElementById(id);
if(elt != null){
  elt.setAttributeNS(svgns, "visibility", "hidden");
}
//...

There's no errors, but I never see the display update. I'm using the 1.5b4 release.

Do DOM events not trigger display updates still? I found a message that said so, but it was dated 2001, so I figured maybe some progress had occurred in that area =)

Thanks again for any help,

- josh


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



Reply via email to