Bug 57084 Bad focus in the 'New User Library' dialog [build path]
I20040330 window>preferences>java>build path>user libraries>new The focus is set on the checkbox by default. It should be on the text field.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java
if (lastPath != null) {
				fLocationField.setText(lastPath);
			} else {
				fLocationField.setText(""); 
			}
		}
		
		protected Point getInitialSize() {
			return fInitialSize;
		}
		
		private boolean isSave() {
			return fExistingLibraries != null;
		}
		
		/* (non-Javadoc)
		 * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
		 */
		protected Control createDialogArea(Composite parent) {
			Composite composite= (Composite) super.createDialogArea(parent);
			DialogField[] fields;
			if (isSave()) {
				fields= new DialogField[] { fExportImportList, fLocationField };
			} else {
				fields= new DialogField[] { fLocationField, fExportImportList };
			}
			LayoutUtil.doDefaultLayout(composite, fields, true, SWT.DEFAULT, SWT.DEFAULT);
			fExportImportList.getListControl(null).setLayoutData(new GridData(GridData.FILL_BOTH));
			
			fLocationField.postSetFocusOnDialogField(parent.getDisplay());