public static void drawStringUnderlineCharAtWithYCorrection( JComponent c,
		Graphics2D g, String text, int underlinedIndex, int x, int y )
	{
		float yCorrection = computeTextYCorrection( g );
		if( yCorrection != 0 ) {
			g.translate( 0, yCorrection );
			JavaCompatibility.drawStringUnderlineCharAt( c, g, text, underlinedIndex, x, y );
			g.translate( 0, -yCorrection );
		} else
			JavaCompatibility.drawStringUnderlineCharAt( c, g, text, underlinedIndex, x, y );
	}
Applies Y correction and draws the given string at the specified location underlining the specified character.
The provided component is used to query text properties and anti-aliasing hints.
<p>
Replacement for {@code SwingUtilities2.drawStringUnderlineCharAt()}.
flatlaf-core/src/main/java/com/formdev/flatlaf/util/HiDPIUtils.java