public void setDocument(Document document) {
		this.document = document;
		JTextField textField = getTextField();
		textField.setDocument(document);
		document.removeDocumentListener(passThroughDocumentListener);
		document.addDocumentListener(passThroughDocumentListener);
	}
Sets document to be used by the combobox's editor component.
@param document the document to be set
Ghidra/Framework/Docking/src/main/java/docking/widgets/combobox/GhidraComboBox.java