-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P4
-
None
-
Affects Version/s: 7-pool
-
Component/s: javafx
-
None
-
Environment:
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
}