private Component getRecentComponent( Container aContainer, boolean first ) {
			// if moving focus into the toolbar, focus recently focused toolbar button
			if( focusedCompIndex >= 0 && focusedCompIndex < toolBar.getComponentCount() ) {
				Component c = toolBar.getComponent( focusedCompIndex );
				if( accept( c ) )
					return c;
			}

			return first
				? super.getFirstComponent( aContainer )
				: super.getLastComponent( aContainer );
		}
Focus traversal policy used for toolbar to modify traversal behaviour:
<ul>
<li>Tab-key moves focus out of toolbar.</li>
<li>If moving focus into the toolbar, focus recently focused toolbar button.</li>
</ul>
If the toolbar contains non-button components (e.g. combobox), then the behavior
is slightly different. Non-button component are always included in Tab-key traversal.

@since 2
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatToolBarUI.java