Bug 62086 [User library] Jars in User Libraries Can't be ordered
Inorder to get a patch to Easymock to work the patch jar must be first in the classpath. There does not appear to be a way to do this with the User Libraries. I'm using the I20040506 build.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java
if (selectedLibrary != null) {
				int nElements= fLibraryList.getSize();
				for (int i= 0; i < nElements; i++) {
					CPUserLibraryElement curr= (CPUserLibraryElement) fLibraryList.getElement(i);
					if (curr.getName().equals(selectedLibrary)) {
						fLibraryList.selectElements(new StructuredSelection(curr));
						fLibraryList.expandElement(curr, AbstractTreeViewer.ALL_LEVELS);
						break;
					}
				}
			}
			if (createIfNotExists) {
				CPUserLibraryElement elem= new CPUserLibraryElement(selectedLibrary, null, getPlaceholderProject());
				fLibraryList.addElement(elem);
				fLibraryList.selectElements(new StructuredSelection(elem));
			}
		}
	}
	
	
	/*
	 * (non-Javadoc)
	 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
	 */
	public void createControl(Composite parent) {
		super.createControl(parent);
		PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IJavaHelpContextIds.CP_USERLIBRARIES_PREFERENCE_PAGE);
	}	
	/*
	 * @see PreferencePage#createContents(org.eclipse.swt.widgets.Composite)