I am working with a java project, which it uses an SVG element from SVG Salamander lib and this element uses a Text form. The program writes on the text when a device is disconnected, using Text.append()
the following legend is added
No Data from the device: Blockquote
but when the device is again reconnected this legend should be gone, but using text.append("")
, the old message is still there. I've read this link. At the end, the question is how to clear the text from SVGElement?