private void showDialog(Component parentComponent) {
		JPanel dialogPanel = new JPanel();
		dialogPanel.setLayout(new BorderLayout());
		dialogPanel.add(new ColorEditorPanel(), BorderLayout.CENTER);
		dialogPanel.getAccessibleContext().setAccessibleName(parentComponent.getName());
		EditorProvider provider = new EditorProvider(dialogPanel);
		DockingWindowManager.showDialog(previewLabel, provider);
	}
Color editor that is a bit unusual in that its custom component is a button that when pushed,
pops up a dialog for editing the color. Use {@link ColorPropertyEditor} for a more traditional
property editor that returns a direct color editing component.
Ghidra/Framework/Docking/src/main/java/docking/options/editor/ColorEditor.java