}    Iterator pres = componentList.iterator(); while (pres.hasNext()) { addUsedPrefix((String)pres.next());
    public void createComponents(MapHandler mapHandler) {	int i; // default counter	if (mapHandler == null) {	    Debug.message("properties", "PropertyHandler.createComponents(): null handler.");	    return;	}		ProgressListenerGauge plg;	try {	    plg = new ProgressListenerGauge("OpenMap Setup");	    addProgressListener(plg);	} catch (Exception e) {	    // Since ProgressListenerGauge is a Swing component, catch	    // any exception that would be tossed if it can't be	    // created, like if the PropertyHandler is being used on a	    // unix system without a DISPLAY.	    plg = null;	}	Vector debugList = PropUtils.parseSpacedMarkers(properties.getProperty(Environment.DebugList));	int size = debugList.size();	for (i = 0; i < size; i++) {	    String debugMarker = (String) debugList.elementAt(i);	    Debug.put(debugMarker);	    if (Debug.debugging("properties")) {		Debug.output("PropertyHandler: adding " + debugMarker + " to Debug list.");	    }	}	Vector componentList = PropUtils.parseSpacedMarkers(properties.getProperty(componentProperty));	if (Debug.debugging("propertiesdetail")) {	    Debug.output("PropertyHandler: creating components from " + 			 componentList);	}	fireProgressUpdate(ProgressEvent.START,			   "OpenMap - Creating Components", 0, 100);	Vector components = 	    ComponentFactory.create(componentList, properties, 				    (updateProgress?getProgressSupport():null));	size = components.size();	for (i = 0; i < size; i++) {	    Object obj = (Object) components.elementAt(i);	    try {		if (obj instanceof SoloMapComponent) {		    mapHandler.add((SoloMapComponent) obj);		} else {		    mapHandler.add(obj);		}	    	    } catch (MultipleSoloMapComponentException msmce) {		Debug.error("PropertyHandler.createComponents(): tried to add multiple components of the same type when only one is allowed! - " + msmce);	    }	}	// Add the used prefixes to the prefix list, for later	// reference.	Iterator pres = componentList.iterator();	while (pres.hasNext()) {	    addUsedPrefix((String)pres.next());	}	fireProgressUpdate(ProgressEvent.DONE,			   "Created all components, ready...", size, size);	removeProgressListener(plg);    }