node     = addElement(parent, name, resource.getClass().getName(), false, false);
node     = addElement(parent, name, resource.getClass().getName(), false);
  public Element writeColorUIResource(Element parent, Object o, String name)      throws Exception {        Element           node;    ColorUIResource   resource;    // for debugging only    if (DEBUG)       trace(new Throwable(), name);        resource = (ColorUIResource) o;    node     = addElement(parent, name, resource.getClass().getName(), false, false);    invokeWriteToXML(node, new Color(resource.getRGB()), VAL_COLOR);        return node;  }