for (int i = 0; i < indices.length; i++) {
for (int indice : indices) {
	private String buildSelectPath(JList list) {		StringBuffer path = new StringBuffer();		int[] indices = list.getSelectedIndices();		String separatorStr = System.getProperty("path.separator");		String sep = "";		ListModel m = list.getModel();		for (int i = 0; i < indices.length; i++) {			path.append(sep);			sep = separatorStr;			path.append(m.getElementAt(indices[i]));		}		return path.toString();	}