private void lafDefaultsChanged( PropertyChangeEvent e ) {
		if( refreshPending )
			return;

		refreshPending = true;
		EventQueue.invokeLater( () -> {
			refresh();
			refreshPending = false;
		} );
	}
Creates a UI defaults inspector panel that can be embedded into any window.
flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatUIDefaultsInspector.java