-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
7-pool
-
None
-
2.0 beta b45
Stage.hide causes Application.stop, but does not fire Stage.setOnCloseRequest event
@Override public void start() {
...
stage.setOnCloseRequest(new EventHandler<WindowEvent>() {
public void handle(final WindowEvent event) {
// never gets called
}
});
...
// in some other method call stage.hide(); when a button is clicked or similar
}
@Override public void stop() throws Exception {
// gets called
}
@Override public void start() {
...
stage.setOnCloseRequest(new EventHandler<WindowEvent>() {
public void handle(final WindowEvent event) {
// never gets called
}
});
...
// in some other method call stage.hide(); when a button is clicked or similar
}
@Override public void stop() throws Exception {
// gets called
}