GridData gd= new GridData(GridData.FILL_BOTH);
GridData gd= new GridData(SWT.FILL, SWT.BEGINNING, true, false);
	private Control createSyntaxPage(Composite parent) {				Composite colorComposite= new Composite(parent, SWT.NONE);		GridLayout layout= new GridLayout();		layout.marginHeight= 0;		layout.marginWidth= 0;		colorComposite.setLayout(layout);			Label label;		label= new Label(colorComposite, SWT.LEFT);		label.setText(PreferencesMessages.getString("JavaEditorPreferencePage.coloring.element")); //$NON-NLS-1$		label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));			Composite editorComposite= new Composite(colorComposite, SWT.NONE);		layout= new GridLayout();		layout.numColumns= 2;		layout.marginHeight= 0;		layout.marginWidth= 0;		editorComposite.setLayout(layout);		GridData gd= new GridData(GridData.FILL_BOTH);		editorComposite.setLayoutData(gd);					fHighlightingColorListViewer= new TableViewer(editorComposite, SWT.SINGLE | SWT.V_SCROLL | SWT.BORDER | SWT.FULL_SELECTION);		fHighlightingColorListViewer.setLabelProvider(new ColorListLabelProvider());		fHighlightingColorListViewer.setContentProvider(new ColorListContentProvider());		fHighlightingColorListViewer.setSorter(new WorkbenchViewerSorter());		gd= new GridData(SWT.BEGINNING, SWT.FILL, false, true);		gd.heightHint= convertHeightInCharsToPixels(5);		fHighlightingColorListViewer.getControl().setLayoutData(gd);								Composite stylesComposite= new Composite(editorComposite, SWT.NONE);		layout= new GridLayout();		layout.marginHeight= 0;		layout.marginWidth= 0;		layout.numColumns= 2;		stylesComposite.setLayout(layout);		stylesComposite.setLayoutData(new GridData(GridData.FILL_BOTH));				fEnableCheckbox= new Button(stylesComposite, SWT.CHECK);		fEnableCheckbox.setText(PreferencesMessages.getString("JavaEditorPreferencePage.enable")); //$NON-NLS-1$		gd= new GridData(GridData.FILL_HORIZONTAL);		gd.horizontalAlignment= GridData.BEGINNING;		gd.horizontalSpan= 2;		fEnableCheckbox.setLayoutData(gd);				label= new Label(stylesComposite, SWT.LEFT);		label.setText(PreferencesMessages.getString("JavaEditorPreferencePage.color")); //$NON-NLS-1$		gd= new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);		gd.horizontalIndent= 20;		label.setLayoutData(gd);			fSyntaxForegroundColorEditor= new ColorEditor(stylesComposite);		Button foregroundColorButton= fSyntaxForegroundColorEditor.getButton();		gd= new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);		foregroundColorButton.setLayoutData(gd);				fBoldCheckBox= new Button(stylesComposite, SWT.CHECK);		fBoldCheckBox.setText(PreferencesMessages.getString("JavaEditorPreferencePage.bold")); //$NON-NLS-1$		gd= new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);		gd.horizontalIndent= 20;		gd.horizontalSpan= 2;		fBoldCheckBox.setLayoutData(gd);				fItalicCheckBox= new Button(stylesComposite, SWT.CHECK);		fItalicCheckBox.setText(PreferencesMessages.getString("JavaEditorPreferencePage.italic")); //$NON-NLS-1$		gd= new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);		gd.horizontalIndent= 20;		gd.horizontalSpan= 2;		fItalicCheckBox.setLayoutData(gd);				label= new Label(colorComposite, SWT.LEFT);		label.setText(PreferencesMessages.getString("JavaEditorPreferencePage.preview")); //$NON-NLS-1$		label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));				Control previewer= createPreviewer(colorComposite);		gd= new GridData(GridData.FILL_BOTH);		gd.widthHint= convertWidthInCharsToPixels(20);		gd.heightHint= convertHeightInCharsToPixels(5);		previewer.setLayoutData(gd);				fHighlightingColorListViewer.addSelectionChangedListener(new ISelectionChangedListener() {			public void selectionChanged(SelectionChangedEvent event) {				handleSyntaxColorListSelection();			}		});				foregroundColorButton.addSelectionListener(new SelectionListener() {			public void widgetDefaultSelected(SelectionEvent e) {				// do nothing			}			public void widgetSelected(SelectionEvent e) {				HighlightingColorListItem item= getHighlightingColorListItem();				PreferenceConverter.setValue(getPreferenceStore(), item.getColorKey(), fSyntaxForegroundColorEditor.getColorValue());			}		});			fBoldCheckBox.addSelectionListener(new SelectionListener() {			public void widgetDefaultSelected(SelectionEvent e) {				// do nothing			}			public void widgetSelected(SelectionEvent e) {				HighlightingColorListItem item= getHighlightingColorListItem();				getPreferenceStore().setValue(item.getBoldKey(), fBoldCheckBox.getSelection());			}		});						fItalicCheckBox.addSelectionListener(new SelectionListener() {			public void widgetDefaultSelected(SelectionEvent e) {				// do nothing			}			public void widgetSelected(SelectionEvent e) {				HighlightingColorListItem item= getHighlightingColorListItem();				getPreferenceStore().setValue(item.getItalicKey(), fItalicCheckBox.getSelection());			}		});						fEnableCheckbox.addSelectionListener(new SelectionListener() {			public void widgetDefaultSelected(SelectionEvent e) {				// do nothing			}			public void widgetSelected(SelectionEvent e) {				HighlightingColorListItem item= getHighlightingColorListItem();				if (item instanceof SemanticHighlightingColorListItem) {					boolean enable= fEnableCheckbox.getSelection();					getPreferenceStore().setValue(((SemanticHighlightingColorListItem) item).getEnableKey(), enable);					fEnableCheckbox.setSelection(enable);					fSyntaxForegroundColorEditor.getButton().setEnabled(enable);					fBoldCheckBox.setEnabled(enable);					fItalicCheckBox.setEnabled(enable);					uninstallSemanticHighlighting();					installSemanticHighlighting();				}			}		});				colorComposite.layout(false);						return colorComposite;	}