Bug 47208 Generate Javadoc dialog lays out too wide [javadoc]
If one uses a custom doclet and sets the doclet class path to a long path (e.g. with many JAR files on it), the "Generate Javadoc" dialog lays out to try and fit the full doclet class path on the screen; this results in a very wide dialog.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
IJavaProject iJavaProject= projects[k];
			try {
				IPackageFragmentRoot[] roots= iJavaProject.getPackageFragmentRoots();
				for (int i= 0; i < roots.length; i++) {
					IPackageFragmentRoot curr= roots[i];
					if (curr.getKind() == IPackageFragmentRoot.K_SOURCE) {
						IResource resource= curr.getResource();
						if (resource != null) {
							IPath p= resource.getLocation();
							if (p != null) {
								res.add(p);
							}
						}
					}
				}
			} catch (JavaModelException e) {
				JavaPlugin.log(e);
			}
		}
		return (IPath[]) res.toArray(new IPath[res.size()]);
	}
	private IPath[] getClassPath(IJavaProject[] javaProjects) {
		ArrayList res= new ArrayList();
		for (int j= 0; j < javaProjects.length; j++) {
			IJavaProject iJavaProject= javaProjects[j];
			try {
				IPath p= iJavaProject.getProject().getLocation();
				if (p == null)
					continue;
				IPath outputLocation= p.append(iJavaProject.getOutputLocation());