if (Debug.debugging("layer")) {
String[] modes = mml.getMouseModeServiceList(); StringBuffer sb = new StringBuffer(); for (int i = 0; i < modes.length; i++) { sb.append(modes[i] + ", "); }
    public synchronized MapMouseListener getMapMouseListener() {	MapMouseListener mml = getMouseEventInterpreter();	if (mml != null) {	    String[] modes = mml.getMouseModeServiceList();	    StringBuffer sb = new StringBuffer();	    for (int i = 0; i < modes.length; i++) {		sb.append(modes[i] + ", ");	    }	    if (Debug.debugging("layer")) {		Debug.output("Layer " + getName() + " returning " + 			     mml.getClass().getName() + 			     " as map mouse listener that listens to :" + sb.toString());	    }	}	return mml;    }