Bug 49353 Javadoc preference does not indicate bad exe until field is edited. [javadoc]
I upgarded from Sun Java 1.4.2_02 to 1.4.2_03. When I open the Javadoc preference page, the entry fields shows "C:\Java\sun\1.4.2_02\bin\javadoc.exe", which no longer exists but the error icon and message is NOT displayed at the top of the pane. If I edit the field but leave the entry still bogus, THEN the error icon and message appear. I think the error should appear as soon as the pane is displayed. Version 3.0.m6.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
}
				}
				updateStatus(findMostSevereStatus());
				break;
		} 
		
		
	}
	
	protected void browseForJavadocCommand() {
		FileDialog dialog= new FileDialog(getShell());
		dialog.setText(JavadocExportMessages.getString("JavadocTreeWizardPage.javadoccmd.dialog.title")); 
		String dirName= fJavadocCommandText.getText();
		dialog.setFileName(dirName);
		String selectedDirectory= dialog.open();
		if (selectedDirectory != null) {
			ArrayList newItems= new ArrayList();
			String[] items= fJavadocCommandText.getItems();
			newItems.add(selectedDirectory);
			for (int i= 0; i < items.length && newItems.size() < 5; i++) { 
				String curr= items[i];
				if (!newItems.contains(curr)) {
					newItems.add(curr);
				}
			}
			fJavadocCommandText.setItems((String[]) newItems.toArray(new String[newItems.size()]));
			fJavadocCommandText.select(0);
		}
	}