Bug 94643 [preferences] Java Editor Preferences page: mnemonics only work on second stroke
I20050509-2010 On the Java > Editor preference page, I have to press a mnemonic twice to make it really work. E.g. - click on "Mark Occurrences", press Alt+O -> focus is somewhere "between" tab and contents - press Alt+O again -> checkbox gets switched now
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistConfigurationBlock.java
private final Object[][] fContentAssistColorListModel= new Object[][] {
			{PreferencesMessages.JavaEditorPreferencePage_backgroundForCompletionProposals, PREF_CODEASSIST_PROPOSALS_BACKGROUND }, 
			{PreferencesMessages.JavaEditorPreferencePage_foregroundForCompletionProposals, PREF_CODEASSIST_PROPOSALS_FOREGROUND }, 
			{PreferencesMessages.JavaEditorPreferencePage_backgroundForMethodParameters, PREF_CODEASSIST_PARAMETERS_BACKGROUND }, 
			{PreferencesMessages.JavaEditorPreferencePage_foregroundForMethodParameters, PREF_CODEASSIST_PARAMETERS_FOREGROUND }, 
			{PreferencesMessages.JavaEditorPreferencePage_backgroundForCompletionReplacement, PREF_CODEASSIST_REPLACEMENT_BACKGROUND }, 
			{PreferencesMessages.JavaEditorPreferencePage_foregroundForCompletionReplacement, PREF_CODEASSIST_REPLACEMENT_FOREGROUND } 
		};
	public CodeAssistConfigurationBlock(IStatusChangeListener statusListener, IWorkbenchPreferenceContainer workbenchcontainer) {
		super(statusListener, null, getAllKeys(), workbenchcontainer);
	}
	protected Control createContents(Composite parent) {
		ScrolledPageContent scrolled= new ScrolledPageContent(parent, SWT.H_SCROLL | SWT.V_SCROLL);
		scrolled.setExpandHorizontal(true);
		scrolled.setExpandVertical(true);
		
		Composite control= new Composite(scrolled, SWT.NONE);
		GridLayout layout= new GridLayout();
		control.setLayout(layout);
		Composite composite;
		composite= createSubsection(control, PreferencesMessages.CodeAssistConfigurationBlock_insertionSection_title); 
		addInsertionSection(composite);
		
		composite= createSubsection(control, PreferencesMessages.CodeAssistConfigurationBlock_sortingSection_title); 
		addSortingSection(composite);
		
		composite= createSubsection(control, PreferencesMessages.CodeAssistConfigurationBlock_autoactivationSection_title); 
		addAutoActivationSection(composite);
		
		composite= createSubsection(control, PreferencesMessages.CodeAssistConfigurationBlock_appearanceSection_title);