compDesc.sfAddAttribute(cxtKey, value);
compDesc.sfReplaceAttribute(cxtKey, value);
    public static ComponentDescription addSystemProperties(String startWith,        ComponentDescription compDesc) {        Properties props = System.getProperties();        for (Enumeration e = props.keys(); e.hasMoreElements(); ) {            String key = e.nextElement().toString();            if (key.startsWith(startWith)) {                Object value = props.get(key);                try {                    // convert to number                    value = Double.valueOf((String)value);                } catch (Exception ex) {                // ignore, value is not a number                }                if ((value.toString().equals("true"))||                    (value.toString().equals("false"))){                  try {                    // convert to boolean                    value = Boolean.valueOf( (String) value);                  } catch (Exception ex) {                  // ignore, value is not a number                  }                }                String cxtKey = key.substring(startWith.length());                try {                  compDesc.sfAddAttribute(cxtKey, value);                } catch (SmartFrogRuntimeException ex1) {                   //Logger.log(ex1);                }            }        }        return compDesc;    }