@Override
		public void paintIcon(Component c, Graphics g, int x, int y) {

			Font font = Gui.getFont(FONT_ID);
			g.setFont(font);
			g.setColor(Colors.FOREGROUND);
			FontMetrics fontMetrics = g.getFontMetrics();
			int numberHeight = fontMetrics.getAscent();

			// draw the number on the right...
			int padding = 2;
			int startX = x + (iconWidth - numberWidth) + padding;

			// note: padding here helps make up the difference between the number's actual height 
			// and the font metrics ascent
			int heightPadding = 2;
			int absoluteY = y + numberHeight - heightPadding;

			g.drawString(numberText, startX, absoluteY);
		}
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