Bug 133615 [FieldAssist] ContentAssistField: proposal popup and additional info should have different bg color
I20060328-0010 ContentAssistField's proposal popup and additional info should have different background colors. They currently have the same yellow background (I guess the system info bg color, but the info color is not really suitable for the list). The Java editor already lets the user configure the proposal list colors (Preferences > Java > Editor). I think the colors should be the same in the Java editor and in the editor's Find/Replace dialog. 2 solutions: a) use the system default color for the proposals list (white on WinXP) b) Platform/UI adds the colors for the proposal popup to the Colors and Fonts preferences page and offers API to retrieve the default colors
bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.java
/*
	 * The lightweight popup used to show content proposals for a text field. If
	 * additional information exists for a proposal, then selecting that
	 * proposal will result in the information being displayed in a secondary
	 * popup.
	 */
	class ContentProposalPopup extends PopupDialog {
		/*
		 * The listener we install on the popup and related controls to
		 * determine when to close the popup. Some events (move, resize, close,
		 * deactivate) trigger closure as soon as they are received, simply
		 * because one of the registered listeners received them. Other events
		 * depend on additional circumstances.
		 */
		private final class PopupCloserListener implements Listener {
			private boolean scrollbarClicked = false;
			public void handleEvent(final Event e) {
				
				
				if (e.type == SWT.FocusOut) {
					scrollbarClicked = false;
					/*
					 * Ignore this event if it's only happening because focus is
					 * moving between the popup shells, their controls, or a
					 * scrollbar. Do this in an async since the focus is not