public void setTabClosable( int tabIndex, boolean tabClosable ) {
		JComponent c = (JComponent) getComponentAt( tabIndex );
		c.putClientProperty( TABBED_PANE_TAB_CLOSABLE, tabClosable );
	}
Specifies whether the tab at the given tab index is closable.
To make all tabs closable, use {@link #setTabsClosable(boolean)}.
<p>
Note that you have to specify a callback (see {@link #setTabCloseCallback(BiConsumer)})
that is invoked when the user clicks a tab close button.
The callback is responsible for closing the tab.
flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/components/FlatTabbedPane.java