Bug 18483 IE6 causes conflict with SWT.APPLICATION_MODAL on Windows 98
Build 20020531 When IE 6 is installed on Windows 98 it replaces the task bar with one of its own (according to Dave Thomson). When this occurs the focus behaviour of shells with modality set to SWT.APPLICATION_MODAL changes. STEPS 1) Start Windows 98 on a machine with IE 5 or earlier 2) Select a file 3) Hit delete - a prompter comes up 4) Select an non Eclipse window and drag it over the dialog 5) Select the Eclipse parent window in the tasks list - the dialog and window are given focus 6) Start Windows 98 on a machine with IE 62) Select a file 3) Hit delete - a prompter comes up 4) Select an non Eclipse window and drag it over the dialog 5) Select the Eclipse parent window in the tasks list - the dialog only is given focus and the window stays in the backgroud. I don't have a good pure SWT example of this yet as I am still trying to find the condition that makes this happen.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaTextTools.java
package org.eclipse.jdt.ui.text;
/*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.text.IDocumentPartitioner;
import org.eclipse.jface.text.rules.DefaultPartitioner;
import org.eclipse.jface.text.rules.RuleBasedPartitionScanner;
import org.eclipse.jface.text.rules.RuleBasedScanner;
import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.jface.util.PropertyChangeEvent;
import org.eclipse.jdt.internal.ui.text.JavaColorManager;
import org.eclipse.jdt.internal.ui.text.JavaPartitionScanner;
import org.eclipse.jdt.internal.ui.text.SingleTokenJavaScanner;
import org.eclipse.jdt.internal.ui.text.java.JavaCodeScanner;
import org.eclipse.jdt.internal.ui.text.javadoc.JavaDocScanner;
/**
 * Tools required to configure a Java text viewer. 
 * The color manager and all scanner exist only one time, i.e.
 * the same instances are returned to all clients. Thus, clients
 * share those tools.
 * <p>
 * This class may be instantiated; it is not intended to be subclassed.
 * </p>
 */
public class JavaTextTools {