set Tab Component Close Callback
fun JComponent.setTabComponentCloseCallback(tabCloseCallback: TabCloseCallback)
Content copied to clipboard
Configures the callback for deciding on the tab close type on this tab component. Note that this is only relevant for tabs configured with JComponent.setTabComponentCloseButtonVisible and JTabbedPane.setTabCloseButtonsVisible APIs.
See also
Parameters
tab Close Callback
Callback for deciding on the tab close type on the tab component.