@Override
	public void paint(JComponent c, Graphics g, PaintContext context, Rectangle clip,
			FieldBackgroundColorManager colorManager, RowColLocation cursorLoc, int rowHeight) {
		if (context.isPrinting()) {
			print(g, context);
		}
		else {
			paintSelection(g, colorManager, 0, rowHeight);
			paintText(c, g, context);
			paintCursor(g, context.getCursorColor(), cursorLoc);
		}
	}
Create a text field for the given line.

<p>
This method will create the sole text field element populating this field.

@param line the line from the {@link VtBuffer} that will be rendered in this field
@param metrics the font metrics
@param fontSizeAdjustment the font size adjustment
@param colors the color resolver
@return the field
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/TerminalTextField.java