Bug 13507 LinkedPositionUI has a reference to SWT.COLOR_RED
LinkedPositionUI(ITextViewer, LinkedPositionManager) - org.eclipse.jdt.internal.ui.text.link.LinkedPositionUI has a reference to SWT.COLOR_RED which will be unreadble if the user sets their background colour to Red. We will be adding a getErrorText colour to JFaceColours in build >20020411. You may want to use that.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
label= JavaUIMessages.getString("JavaEditorPreferencePage.showProblemsBeforeCompiling"); 
		addCheckBox(behaviorComposite, label, CompilationUnitDocumentProvider.HANDLE_TEMPRARY_PROBELMS, 0);
		label= JavaUIMessages.getString("JavaEditorPreferencePage.showOverviewRuler"); 
		addCheckBox(behaviorComposite, label, CompilationUnitEditor.OVERVIEW_RULER, 0);
		
		label= JavaUIMessages.getString("JavaEditorPreferencePage.highlightMatchingBrackets"); 
		fBracketHighlightButton= addCheckBox(behaviorComposite, label, CompilationUnitEditor.MATCHING_BRACKETS, 0);
		label= JavaUIMessages.getString("JavaEditorPreferencePage.matchingBracketsHighlightColor"); 
		fBracketHighlightColor= addColorButton(behaviorComposite, label, CompilationUnitEditor.MATCHING_BRACKETS_COLOR, 0);
		fBracketHighlightButton.addSelectionListener(new SelectionListener() {
			public void widgetSelected(SelectionEvent e) {
				setEnabled(fBracketHighlightColor, fBracketHighlightButton.getSelection());
			}
			public void widgetDefaultSelected(SelectionEvent e) {
			}
		});
		
		
		label= JavaUIMessages.getString("JavaEditorPreferencePage.highlightCurrentLine"); 
		fLineHighlightButton= addCheckBox(behaviorComposite, label, CompilationUnitEditor.CURRENT_LINE, 0);
		
		label= JavaUIMessages.getString("JavaEditorPreferencePage.currentLineHighlightColor"); 
		fLineHighlightColor= addColorButton(behaviorComposite, label, CompilationUnitEditor.CURRENT_LINE_COLOR, 0);
		fLineHighlightButton.addSelectionListener(new SelectionListener() {
			public void widgetSelected(SelectionEvent e) {
				setEnabled(fLineHighlightColor, fLineHighlightButton.getSelection());
			}
			public void widgetDefaultSelected(SelectionEvent e) {
			}
		});