@SuppressWarnings( "unchecked" )
	public BiConsumer<JTabbedPane, Integer> getTabCloseCallback( int tabIndex ) {
		JComponent c = (JComponent) getComponentAt( tabIndex );
		return (BiConsumer<JTabbedPane, Integer>) c.getClientProperty( TABBED_PANE_TAB_CLOSE_CALLBACK );
	}
Returns the callback that is invoked when the tab close button at the given tab index is clicked.
The callback is responsible for closing the tab.
flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/components/FlatTabbedPane.java