m_CurrentNode = node;
  public Object readBeanVisual(Element node) throws Exception {    Object      result;    Vector      children;    Element     child;    int         i;    String      name;    String      text;    String      iconPath;    String      animIconPath;    // for debugging only    if (DEBUG)       trace(new Throwable(), node.getAttribute(ATT_NAME));        result = null;    children     = XMLDocument.getChildTags(node);    text         = "";    iconPath     = "";    animIconPath = "";    // find text    for (i = 0; i < children.size(); i++) {      child = (Element) children.get(i);      name = child.getAttribute(ATT_NAME);      if (name.equals(VAL_TEXT))        text = (String) invokeReadFromXML(child);      else if (name.equals(VAL_ICONPATH))        iconPath = (String) invokeReadFromXML(child);      else if (name.equals(VAL_ANIMATEDICONPATH))        animIconPath = (String) invokeReadFromXML(child);    }    result = new BeanVisual(text, iconPath, animIconPath);        // set rest of properties    for (i = 0; i < children.size(); i++)      readFromXML(result, node.getAttribute(ATT_NAME), (Element) children.get(i));        return result;  }