Bug 46639 JavadocWizard disposing Window.getDefaultImage()
Build I20031111 JavadocWizard.performFinish() OptionalMessageDialog.open(..., Window.getDefaultImage(), ...); I believe passing Window.getDefaultImage() to the dialog is bad. When the dialog closes, it disposes of the default window image.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewElementWizard.java
if (OptionalMessageDialog.isDialogEnabled(key)) {
			Templates templates= Templates.getInstance();
			boolean isOldWorkspace= templates.getTemplates("filecomment").length > 0 && templates.getTemplates("typecomment").length > 0; 
			if (!isOldWorkspace) {
				OptionalMessageDialog.setDialogEnabled(key, false);
			}
			String title= NewWizardMessages.getString("NewElementWizard.typecomment.deprecated.title"); 
			String message= NewWizardMessages.getString("NewElementWizard.typecomment.deprecated.message"); 
			OptionalMessageDialog.open(key, getShell(), title, Window.getDefaultImage(), message, MessageDialog.INFORMATION, new String[] { IDialogConstants.OK_LABEL }, 0);
		}
	}
	/* (non-Javadoc)
	 * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
	 */
	public void init(IWorkbench workbench, IStructuredSelection currentSelection) {
		fWorkbench= workbench;
		fSelection= currentSelection;
	}
	
	public IStructuredSelection getSelection() {
		return fSelection;
	}
	public IWorkbench getWorkbench() {
		return fWorkbench;
	}
	protected void selectAndReveal(IResource newResource) {
		BasicNewResourceWizard.selectAndReveal(newResource, fWorkbench.getActiveWorkbenchWindow());
	}
}