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
/**
	 * Receives of list of elements selected by the user and passes them
	 * to the CheckedTree. List can contain multiple projects and elements from
	 * different projects. If the list of seletected elements is empty a default
	* project is selected.
	 */
	protected void setTreeChecked(IJavaElement[] sourceElements, IJavaProject project) {
		if (sourceElements.length < 1)
			fInputGroup.initialCheckTreeItem(project);
		else {
			for (int i= 0; i < sourceElements.length; i++) {
				IJavaElement curr= sourceElements[i];
				if (curr instanceof ICompilationUnit) {
					fInputGroup.initialCheckListItem(curr);
				} else if (curr instanceof IPackageFragment) {
					fInputGroup.initialCheckTreeItem(curr);
				} else if (curr instanceof IJavaProject) {
					fInputGroup.initialCheckTreeItem(curr);
				} else if (curr instanceof IPackageFragmentRoot) {
					IPackageFragmentRoot root= (IPackageFragmentRoot) curr;
					if (!root.isArchive())
						fInputGroup.initialCheckTreeItem(curr);
				}
			}
		}
	}
	private IPath[] getSourcePath(IJavaProject[] projects) {
		ArrayList res= new ArrayList();
		
		for (int k= 0; k < projects.length; k++) {