Bug 42655 SourceAttachmentBlock does not use dialog font for all widgets [dialogs] [build path]
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java
if (ArchiveFileFilter.isArchivePath(currPath)) {
			currPath= currPath.removeLastSegments(1);
		}
	
		DirectoryDialog dialog= new DirectoryDialog(getShell());
		dialog.setText(NewWizardMessages.getString("SourceAttachmentBlock.extfolderdialog.text")); 
		dialog.setFilterPath(currPath.toOSString());
		String res= dialog.open();
		if (res != null) {
			return new Path(res).makeAbsolute();
		}
		return null;
	}	
	
	
	/*
	 * Opens a dialog to choose an internal jar.
	 */	
	private IPath chooseInternalJarFile() {
		String initSelection= fFileNameField.getText();
		
		Class[] acceptedClasses= new Class[] { IFolder.class, IFile.class };
		TypedElementSelectionValidator validator= new TypedElementSelectionValidator(acceptedClasses, false);
	
		ViewerFilter filter= new ArchiveFileFilter(null, false);
		ILabelProvider lp= new WorkbenchLabelProvider();
		ITreeContentProvider cp= new WorkbenchContentProvider();
		IResource initSel= null;
		if (initSelection.length() > 0) {
			initSel= fWorkspaceRoot.findMember(new Path(initSelection));