Bug 8107 bracket hightlighting: can't change color
the color changing option in the preference page seems to be always disabled
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
String label= "Highlight &matching brackets";
		final Button checkBox= addCheckBox(behaviorComposite, label, CompilationUnitEditor.MATCHING_BRACKETS, 0);
		
		label= "Matching &brackets highlight color:";
		final Control colorControl= addColorButton(behaviorComposite, label, CompilationUnitEditor.MATCHING_BRACKETS_COLOR, 0);
		checkBox.addSelectionListener(new SelectionListener() {
			Control control= colorControl;
			Button button= checkBox;
			ControlEnableState state= button.getSelection() ? null : ControlEnableState.disable(control);
			
			public void widgetSelected(SelectionEvent e) {
				if (button.getSelection()) {
					if (state != null) {
						state.restore();
						state= null;
					}
				} else {
					state= ControlEnableState.disable(control);
				}
			}
			public void widgetDefaultSelected(SelectionEvent e) {
			}
		});
		
		label= "Text font:";
		addTextFontEditor(behaviorComposite, label, AbstractTextEditor.PREFERENCE_FONT);
		
		label= "Displayed &tab width:";
		addTextField(behaviorComposite, label, JavaSourceViewerConfiguration.PREFERENCE_TAB_WIDTH, 2, 0);