Bug 54595 Load User Libraries dialog has layout problems
Reached through Pref Page Java/Build Path/User Libraries/Load...
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java
}
		return true;
	}
	
	
	private void updateUserLibararies(IProgressMonitor monitor) throws JavaModelException {
		List list= fLibraryList.getElements();
		HashSet oldNames= new HashSet(Arrays.asList(UserLibraryManager.getUserLibraryNames()));
		int nExisting= list.size();
		
		for (int i= 0; i < nExisting; i++) {
			CPUserLibraryElement element= (CPUserLibraryElement) list.get(i);
			oldNames.remove(element.getName());
		}	
		
		ArrayList paths= new ArrayList();
		ArrayList urls= new ArrayList();
		
		int len= nExisting + oldNames.size();
		String[] newNames= new String[len];
		UserLibrary[] newLibs= new UserLibrary[len];
		for (int i= 0; i < nExisting; i++) {
			CPUserLibraryElement element= (CPUserLibraryElement) list.get(i);
			newNames[i]= element.getName();
			newLibs[i]= element.getUserLibrary();			
			
			element.collectJavaDocLocations(paths, urls);
		}
		Iterator iter= oldNames.iterator();
		for (int i= nExisting; i < len; i++) {