private void updateDisplayLocation(boolean hasMatches) {
		if (!hasMatches) {
			hideMatchingWindow();
			return;
		}

		if (isShowing()) {
			updateWindowLocation();
			showMatchingWindow();

			JComponent previewComponent = getPreviewPaneComponent();
			previewComponent.setBackground(PREVIEW_WINDOW_BGCOLOR);
			previewComponent.setForeground(PREVIEW_WINDOW_FGCOLOR);
			toolTipWindow.setVisible(hasPreview());
		}
	}
Overridden to allow for the setting of text without showing the completion window.  This
is useful for setting the current value to be edited before the using initiates editing.

@param text The text to set on this text field.
Ghidra/Framework/Docking/src/main/java/docking/widgets/DropDownTextField.java