Bug 17177 Javadoc wizard doesn't remember checked options between 2 runs
Build 20020521 The Javadoc wizard doesn't remember that I checked 'Open generated index file in browser' between 2 runs. As a result, I cannot just press Finish, but I need to press Next twice, then check the option again, then press Finish.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java
}
		return res;
	}
	private void getProject(List selectedElements, Iterator iter) {
		fProject = null;
		while (iter.hasNext()) {
			Object selectedElement = iter.next();
			IJavaElement elem = getSelectableJavaElement(selectedElement);
			if (elem != null) {
				IJavaProject jproj = elem.getJavaProject();
				if (jproj != null) {
					if (fProject == null){
						fProject = jproj;
						selectedElements.add(elem);
					} else if (fProject.equals(jproj)) {
						selectedElements.add(elem); }
				}
			}
		}
		if (fProject == null) {
			Object[] roots= fRoot.getProjects();
			for (int i= 0; i < roots.length; i++) {
				IProject p= (IProject) roots[i];
				IJavaProject iJavaProject= JavaCore.create(p);
				if (getValidProject(iJavaProject)) {
					fProject= iJavaProject;
					break;
				}
			}
		}