Bug 8808 Class folder: Must use create to add an existing folder
Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists - which is OK. To be consistent with other dialogs "Create Folder" should always warn about existing projects.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
NewWizardMessages.getString("LibrariesWorkbookPage.libraries.remove.button") 
		};		
				
		LibrariesAdapter adapter= new LibrariesAdapter();
				
		fLibrariesList= new ListDialogField(adapter, buttonLabels, new CPListLabelProvider());
		fLibrariesList.setDialogFieldListener(adapter);
		fLibrariesList.setLabelText(NewWizardMessages.getString("LibrariesWorkbookPage.libraries.label")); 
		fLibrariesList.setRemoveButtonIndex(8); 
	
		fLibrariesList.enableButton(6, false);
		
		fLibrariesList.setViewerSorter(new CPListElementSorter());
	}
		
	public void init(IJavaProject jproject) {
		fCurrJProject= jproject;
		updateLibrariesList();
	}
	
	private void updateLibrariesList() {
		List cpelements= fClassPathList.getElements();
		List libelements= new ArrayList(cpelements.size());
		
		int nElements= cpelements.size();
		for (int i= 0; i < nElements; i++) {
			CPListElement cpe= (CPListElement)cpelements.get(i);
			int kind= cpe.getEntryKind();
			if (kind == IClasspathEntry.CPE_LIBRARY || kind == IClasspathEntry.CPE_VARIABLE) {
				libelements.add(cpe);