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
/*
		 * Filter text - tracked while popup is open, only if we are told to
		 * filter
		 */
		private String filterText = EMPTY;
		/**
		 * Constructs a new instance of this popup, specifying the control for
		 * which this popup is showing content, and how the proposals should be
		 * obtained and displayed.
		 * 
		 * @param infoText
		 *            Text to be shown in a lower info area, or
		 *            <code>null</code> if there is no info area.
		 */
		ContentProposalPopup(String infoText) {
			
			
			
			
			
			
			
			super(control.getShell(), SWT.RESIZE | SWT.ON_TOP, false, false,
					false, false, null, infoText);
			this.proposals = getProposals(filterText);
		}
		/*
		 * Creates the content area for the proposal popup. This creates a table
		 * and places it inside the composite. The table will contain a list of
		 * all the proposals.