Image image= shell == null ? null : shell.getDisplay().getSystemImage(SWT.ICON_QUESTION);
	private void setAllJavadocLocations(IJavaProject[] projects, URL newURL) {		Shell shell= getShell();		Image image= shell == null ? null : shell.getDisplay().getSystemImage(SWT.ICON_QUESTION);		String[] buttonlabels= new String[] { IDialogConstants.YES_LABEL, IDialogConstants.YES_TO_ALL_LABEL, IDialogConstants.NO_LABEL, IDialogConstants.NO_TO_ALL_LABEL };		for (int j= 0; j < projects.length; j++) {			IJavaProject iJavaProject= projects[j];			String message= Messages.format(JavadocExportMessages.JavadocWizard_updatejavadoclocation_message, new String[] { iJavaProject.getElementName(), fDestination.toOSString()}); 			MessageDialog dialog= new MessageDialog(shell, JavadocExportMessages.JavadocWizard_updatejavadocdialog_label, image, message, 4, buttonlabels, 1);			switch (dialog.open()) {				case YES :					JavaUI.setProjectJavadocLocation(iJavaProject, newURL);					break;				case YES_TO_ALL :					for (int i= j; i < projects.length; i++) {						iJavaProject= projects[i];						JavaUI.setProjectJavadocLocation(iJavaProject, newURL);						j++;					}					break;				case NO_TO_ALL :					j= projects.length;					break;				case NO :				default :					break;			}		}	}