@Override
		public Color getBackground() {
			Container parent = getParent();
			if (parent != null && !isEditable()) {
				Color bg = parent.getBackground();
				// mint a new Color object to avoid it being ignored because the parent handed us a
				// DerivedColor instance
				return ColorUtils.getColor(bg.getRGB());
			}
			return super.getBackground();
		}
Overridden to paint the hint text over the field when it's empty
Ghidra/Features/PDB/src/main/java/pdb/symbolserver/ui/LoadPdbDialog.java