private JComponent createNameFilterWidget() {

		List<String> data = getVertexNames();
		DataToStringConverter<String> converter = DataToStringConverter.stringDataToStringConverter;
		DropDownTextFieldDataModel<String> model =
			new DefaultDropDownSelectionDataModel<>(data, converter);
		textField = new DropDownSelectionTextField<>(model);
		textField.setName("sample.graph.filter.textfield");
		textField.getDocument().addDocumentListener(filterDocumentListener);

		JPanel panel = new JPanel();
		panel.setLayout(new BoxLayout(panel, BoxLayout.LINE_AXIS));
		JLabel label = new GDLabel("Vertex Filter: ");
		label.setToolTipText(
			"Vertices with names matching the filter will remain, along with connected vertices");
		panel.add(label);
		panel.add(Box.createHorizontalStrut(5));
		panel.add(textField);
		return panel;
	}
A {@link ComponentProvider} that is the UI component of the {@link SampleGraphPlugin}.  This
shows a graph of the plugins in the system.
Ghidra/Extensions/sample/src/main/java/ghidra/examples/graph/SampleGraphProvider.java