protected Color getAlternatingBackgroundColor(JComponent parent, int row) {

		if (!shouldAlternateRowBackgroundColor()) {
			return getDefaultBackgroundColor();
		}

		return getBackgroundColorForRow(row);
	}
Returns the background color appropriate for the given component.  This may vary depending
upon the current OS.

@param parent The parent being rendered -- likely a list or table.
@param row The row being rendered.
@return the color
Ghidra/Framework/Docking/src/main/java/docking/widgets/AbstractGCellRenderer.java