@Override
	// overridden to enforce a minimum height for the icon we use
	public Dimension getPreferredSize() {
		Dimension preferredSize = super.getPreferredSize();
		if (rendererComponent != null) {
			return rendererComponent.getPreferredSize();
		}

		Border currentBorder = getBorder();
		int minHeight = DEFAULT_MIN_HEIGHT;
		if (currentBorder != null) {
			Insets borderInsets = currentBorder.getBorderInsets(this);
			minHeight += borderInsets.top + borderInsets.bottom;
		}
		preferredSize.height = Math.max(preferredSize.height, minHeight);
		return preferredSize;
	}
Paints a background highlight under the icon that will get painted.
@param g2d the graphics
@param scale the current scale, up to max 
@param max the max emphasis size
@param ix the icon x
@param iy the icon y
@param iw the icon width
@param ih the icon height
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTableHeaderRenderer.java