label= "Matching brackets highlight color:"; addColorButton(behaviorComposite, label, CompilationUnitEditor.MATCHING_BRACKETS_COLOR, 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) { } });
	private Control createBehaviorPage(Composite parent) {		Composite behaviorComposite= new Composite(parent, SWT.NULL);		GridLayout layout= new GridLayout(); layout.numColumns= 2;		behaviorComposite.setLayout(layout);						String label= "Highlight matching brackets";		addCheckBox(behaviorComposite, label, CompilationUnitEditor.MATCHING_BRACKETS, 0);				label= "Matching brackets highlight color:";		addColorButton(behaviorComposite, label, CompilationUnitEditor.MATCHING_BRACKETS_COLOR, 0);				label= "Text font:";		addTextFontEditor(behaviorComposite, label, AbstractTextEditor.PREFERENCE_FONT);				label= "&Displayed tab width:";		addTextField(behaviorComposite, label, JavaSourceViewerConfiguration.PREFERENCE_TAB_WIDTH, 2, 0);		return behaviorComposite;	}