private void dumpActionMap( PrintWriter out, JComponent c ) {
		out.printf( "%n%n%n#---- %s ----%n%n", c.getClass().getName() );

		ActionMap actionMap = SwingUtilities.getUIActionMap( c );
		if( actionMap != null )
			dumpActionMap( out, actionMap, null );
	}
Dumps look and feel UI defaults to files.

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