public MultiIconBuilder addText(String text, Font font, Color color, QUADRANT quandrant) {

		FontRenderContext frc = new FontRenderContext(null, true, true);
		TextLayout tl = new TextLayout(text, font, frc);

		BufferedImage bi = new BufferedImage((int) Math.ceil(tl.getAdvance()),
			(int) Math.ceil(tl.getAscent() + tl.getDescent()), BufferedImage.TYPE_INT_ARGB);

		Graphics2D g2d = (Graphics2D) bi.getGraphics();
		g2d.setFont(font);
		g2d.setColor(color);
		tl.draw(g2d, 0, tl.getAscent());
		g2d.dispose();

		return addIcon(new ImageIcon(bi), bi.getWidth(), bi.getHeight(), quandrant);
	}
Add text overlaid on the base icon, aligned to the specified quadrant.

@param text Text string to write onto the icon.  Probably can only fit a letter or two
@param font The font to use to render the text.  You know the size of the base icon, so
you should be able to figure out the size of the font to use for the text
@param color The color to use when rendering the text
@param quandrant The {@link QUADRANT} to align the text to different parts of the icon
@return this builder (for chaining)
Ghidra/Framework/Gui/src/main/java/resources/MultiIconBuilder.java