private void paintUnderline( Graphics g, Rectangle rect ) {
		int descent = g.getFontMetrics().getDescent();

		Object[] oldRenderingHints = FlatUIUtils.setRenderingHints( g );

		((Graphics2D)g).fill( new Rectangle2D.Float(
			rect.x, (rect.y + rect.height) - descent + UIScale.scale( 1f ),
			rect.width, UIScale.scale( 1f ) ) );

		FlatUIUtils.resetRenderingHints( g, oldRenderingHints );
	}
Provides the Flat LaF UI delegate for {@link org.jdesktop.swingx.JXHyperlink}.

@uiDefault Hyperlink.disabledText				Color

@author Karl Tauber
flatlaf-swingx/src/main/java/com/formdev/flatlaf/swingx/ui/FlatHyperlinkUI.java