JComponent buildWorkPanel(T initialValue) {
			JPanel panel = new JPanel(new BorderLayout());
			panel.setBorder(BorderFactory.createEmptyBorder(10, 10, 0, 10));
			panel.add(editor.getCustomEditor(), BorderLayout.CENTER);

			editor.setValue(initialValue);
			storeState(); // save the initial value to the history

			editor.addPropertyChangeListener(internalListener);
			return panel;
		}
Factory method for creating the ThemeValue of the correct type.
@param id the id for theme property
@param newValue the new value for the underlying type (Color, Font, or Icon)
@return the new ThemeValue for the type
Ghidra/Framework/Docking/src/main/java/docking/theme/gui/ThemeValueEditor.java