Bug 38482 Alignment problem in Java Editor pref page
I20030604 Incorrect alignment of radio buttons and color chooser button (see attached screenshot).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
public void widgetDefaultSelected(SelectionEvent e) {}
		};
		fBackgroundDefaultRadioButton= new Button(backgroundComposite, SWT.RADIO | SWT.LEFT);
		fBackgroundDefaultRadioButton.setText(PreferencesMessages.getString("JavaEditorPreferencePage.systemDefault")); 
		fBackgroundDefaultRadioButton.addSelectionListener(backgroundSelectionListener);
		fBackgroundCustomRadioButton= new Button(backgroundComposite, SWT.RADIO | SWT.LEFT);
		fBackgroundCustomRadioButton.setText(PreferencesMessages.getString("JavaEditorPreferencePage.custom")); 
		fBackgroundCustomRadioButton.addSelectionListener(backgroundSelectionListener);
		fBackgroundColorEditor= new ColorEditor(backgroundComposite);
		fBackgroundColorButton= fBackgroundColorEditor.getButton();
		fSemanticHighlightingEnabled= addCheckBox(colorComposite, PreferencesMessages.getString("JavaEditorPreferencePage.semanticHighlighting.option"), PreferenceConstants.EDITOR_SEMANTIC_HIGHLIGHTING_ENABLED, 0); 
		fSemanticHighlightingEnabled.addSelectionListener(new SelectionAdapter(){
			public void widgetSelected(SelectionEvent e) {
				fHighlightingColorListViewer.getControl().setRedraw(false);
				if (fSemanticHighlightingEnabled.getSelection()) {
					fHighlightingColorList.addAll(fSemanticHighlightingColorList);
					fHighlightingColorListViewer.add(fSemanticHighlightingColorList.toArray());
				} else {
					int fullSize= fHighlightingColorList.size();
					fHighlightingColorList.removeAll(fSemanticHighlightingColorList);
					HighlightingColorListItem item= getHighlightingColorListItem();
					if (!fHighlightingColorList.contains(item)) {
						int i= 0;
						while (item != fHighlightingColorListViewer.getElementAt(i))
							i++;
						while (!fHighlightingColorList.contains(fHighlightingColorListViewer.getElementAt(i)) && i < fullSize)
							i++;
						while (!fHighlightingColorList.contains(fHighlightingColorListViewer.getElementAt(i)) && i >= 0)
							i--;