Bug 17311 Javadoc properties page prevents keyboard navigation
Build 20020521 The Javadoc properties page for a project sets the focus to the javadoc location as soon as it is selected. As a result if you are using the keyboard to move through the list entries you have to tab out everytime you hit it. STEPS 1) Open the properties on a java project 2) Use the keyboard to move through the list of pages 3) When you hit the javadoc page the cursor is taken and you have to tab out
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationPropertyPage.java
*/
	protected Control createContents(Composite parent) {
		IJavaElement elem= getJavaElement();
		fJavadocConfigurationBlock= new JavadocConfigurationBlock(elem, getShell(), this);
		Control control= fJavadocConfigurationBlock.createContents(parent);
		return control;
	}
	private IJavaElement getJavaElement() {
		IAdaptable adaptable= getElement();
		IJavaElement elem= (IJavaElement) adaptable.getAdapter(IJavaElement.class);
		if (elem == null) {
			IResource resource= (IResource) adaptable.getAdapter(IResource.class);
			
			try {
				if (resource instanceof IFile) {
					IProject proj= resource.getProject();
					if (proj.hasNature(JavaCore.NATURE_ID)) {
						IJavaProject jproject= JavaCore.create(proj);
						IPackageFragmentRoot root= jproject.findPackageFragmentRoot(resource.getFullPath());
						if (root != null && root.isArchive()) {
							elem= root;
						}
					}
				}
			} catch (CoreException e) {
				JavaPlugin.log(e);
			}
		}
		return elem;
	}