void installListeners() {
			nativeProvider.addChangeListener( e -> {
				update();

				// repaint top borders of all windows
				for( Window window : Window.getWindows() ) {
					if( window.isDisplayable() )
						window.repaint( 0, 0, window.getWidth(), 1 );
				}
			} );
		}
Window top border used on Windows 10.
No longer needed since Windows 11.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatNativeWindowBorder.java