nameDrawingAttributes.getProperties(props); locationDrawingAttributes.getProperties(props);
    public Properties getProperties(Properties props) {        if (props == null) {            props = new Properties();        }        String prefix = PropUtils.getScopedPropertyPrefix(this);        props.put(prefix + ShowNamesProperty, new Boolean(showNames).toString());        props.put(prefix + NameColorProperty,                Integer.toHexString(nameColor.getRGB()));        props.put(prefix + ShowLocationsProperty,                new Boolean(showLocations).toString());        props.put(prefix + LocationColorProperty,                Integer.toHexString(locationColor.getRGB()));        props.put(prefix + ForceGlobalProperty,                new Boolean(forceGlobal).toString());        return props;    }