@Override
	public void paint( Graphics g, JComponent c ) {
		super.paint( g, c );

		Component view = ((JViewport)c).getView();
		if( view instanceof JComponent ) {
			ComponentUI ui = JavaCompatibility2.getUI( (JComponent) view );
			if( ui instanceof ViewportPainter )
				((ViewportPainter)ui).paintViewport( g, (JComponent) view, (JViewport) c );
		}
	}
Provides the Flat LaF UI delegate for {@link javax.swing.JViewport}.

<!-- BasicViewportUI -->

@uiDefault Viewport.font					Font	unused
@uiDefault Viewport.background			Color
@uiDefault Viewport.foreground			Color	unused

@author Karl Tauber
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatViewportUI.java