-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
jfx17
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
MacOS
A DESCRIPTION OF THE PROBLEM :
When closing a scene unsing CMD-Q on MacOS, I want to let the user confirm to save the project modifications to file. This works fine using Scene.setOnCloseRequest() on Windows, but not on MacOs. How can I do the same on MacOs?
stage.setOnCloseRequest(event -> {
if (!acceptClosingFrame()) {
event.consume();
}
});
FREQUENCY : always
MacOS
A DESCRIPTION OF THE PROBLEM :
When closing a scene unsing CMD-Q on MacOS, I want to let the user confirm to save the project modifications to file. This works fine using Scene.setOnCloseRequest() on Windows, but not on MacOs. How can I do the same on MacOs?
stage.setOnCloseRequest(event -> {
if (!acceptClosingFrame()) {
event.consume();
}
});
FREQUENCY : always