Bug 35236 Attaching source redraws editor many times, causing much flashing
build I20030316 Kevin called in to report the following: - with an installed JRE that does not have source attached, - open a type in the rt.jar (e.g. java.awt.Color) - attach source - the editor flashes many times before it displays the source, then continues to flash for several more seconds I was able to reproduce it on Win XP.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
button.addSelectionListener(getButtonListener(entry, containerPath, jproject));
			}
			
			private SelectionListener getButtonListener(final IClasspathEntry entry, final IPath containerPath, final IJavaProject jproject) {
				return new SelectionListener() {
					public void widgetSelected(SelectionEvent event) {				
						try {
							SourceAttachmentDialog dialog= new SourceAttachmentDialog(fScrolledComposite.getShell(), entry, containerPath, jproject, true);
							if (dialog.open() == SourceAttachmentDialog.OK)
								verifyInput(getEditorInput());
	
						} catch (CoreException e) {
							String title= JavaEditorMessages.getString("SourceAttachmentForm.error.title"); 
							String message= JavaEditorMessages.getString("SourceAttachmentForm.error.message"); 
							ExceptionHandler.handle(e, fScrolledComposite.getShell(), title, message);				
						}
					}
	
					public void widgetDefaultSelected(SelectionEvent e) {}
				};
			}	
			
		
			/*
			 * @see IPropertyChangeListener#propertyChange(PropertyChangeEvent)
			 */
			public void propertyChange(PropertyChangeEvent event) {		
		
				for (Iterator iterator = fBannerLabels.iterator(); iterator.hasNext();) {
					Label label = (Label) iterator.next();