I am using Tab.setOnClosed to set a handler which is supposed to be called, when a Tab is closed.
It does work, wehn I close the tab in the tabpane with the x-icon. but it does not work, when I close it programmatically with the .close method.
why is that?