public static void repaintAllFramesAndDialogs() {
		for( Window w : Window.getWindows() ) {
			if( isDisplayableFrameOrDialog( w ) )
				w.repaint();
		}
	}
Repaint all displayable frames and dialogs.
<p>
Useful to update UI after changing {@code TitlePane.unifiedBackground},
{@code MenuItem.selectionType} or {@code Component.hideMnemonics}.

@since 1.1.2
flatlaf-core/src/main/java/com/formdev/flatlaf/FlatLaf.java