for (int i = 0; i < recentProjectsList.size(); i++) { if (projectName.equals(recentProjectsList.get(i))) { recentProjectsList.remove(i); break; }
Iterator it = recentProjectsList.iterator(); while (it.hasNext()) {  if (projectName.equals(it.next())) it.remove();
	public void removeProject(String projectName) {		//It really should always be in slot 0, but...		for (int i = 0; i < recentProjectsList.size(); i++) {			if (projectName.equals(recentProjectsList.get(i))) {				recentProjectsList.remove(i);				break;			}		}	}