It would be very useful if the Tab class supported an onCloseRequested event similar to Stage. This would allow the application developer to check for certain situations, such as unsaved changes, before allowing the tab to be closed.
- duplicates
-
JDK-8100730 Tab should have a way to cancel close
- Closed