node     = addElement(parent, name, resource.getClass().getName(), false, false);
node     = addElement(parent, name, resource.getClass().getName(), false);
  public Element writeFontUIResource(Element parent, Object o, String name)      throws Exception {        Element           node;    FontUIResource    resource;    // for debugging only    if (DEBUG)       trace(new Throwable(), name);        resource = (FontUIResource) o;    node     = addElement(parent, name, resource.getClass().getName(), false, false);    invokeWriteToXML(node, new Font(resource.getName(), resource.getStyle(), resource.getSize()), VAL_COLOR);        return node;  }