private static String keyPrefix( String key ) {
		int dotIndex = key.indexOf( '.' );
		return (dotIndex > 0)
			? key.substring( 0, dotIndex )
			: key.endsWith( "UI" )
				? key.substring( 0, key.length() - 2 )
				: "";
	}
Dumps look and feel UI defaults to files.

@author Karl Tauber
flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/uidefaults/UIDefaultsDump.java