private static void updateWindowTitle( JFrame frame ) {
		String title = frame.getTitle();
		String sep = "  -  ";
		int sepIndex = title.indexOf( sep );
		if( sepIndex >= 0 )
			title = title.substring( 0, sepIndex );
		frame.setTitle( title + sep + UIManager.getLookAndFeel().getName() );
	}
Creates a UI defaults inspector panel that can be embedded into any window.
flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatUIDefaultsInspector.java