-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
fx2.0
Here's the scenario to reproduce the issue (Test.java attached):
1. "Tool" frame is a Swing frame and there are two Swing buttons inside the frame: the "show" button (to show FX stage) and the "hide" button (to hide FX stage).
2. Let's show and hide FX stage. First time it works fine (and the Quantum toolkit is terminated when "last" FX stage is hidden).
3. Let's show and hide FX stage again. Nothing happens and it doesn't work expectedlty (the Quantim toolkit isn't restarted after shutdown).
Attached runtime.patch include some preliminary changes (the diffs can be useful to resolve this issue). With the changes, the scenario starts working for me with default settings. Though I'm not sure that the changes are correct and complete.
For convenience, webrev - http://spbweb.russia.sun.com/~dc158259/RT-12981/webrev-2/index.html
1. "Tool" frame is a Swing frame and there are two Swing buttons inside the frame: the "show" button (to show FX stage) and the "hide" button (to hide FX stage).
2. Let's show and hide FX stage. First time it works fine (and the Quantum toolkit is terminated when "last" FX stage is hidden).
3. Let's show and hide FX stage again. Nothing happens and it doesn't work expectedlty (the Quantim toolkit isn't restarted after shutdown).
Attached runtime.patch include some preliminary changes (the diffs can be useful to resolve this issue). With the changes, the scenario starts working for me with default settings. Though I'm not sure that the changes are correct and complete.
For convenience, webrev - http://spbweb.russia.sun.com/~dc158259/RT-12981/webrev-2/index.html
- blocks
-
JDK-8100937 Allow application to catch exceptions thrown by FX application thread with an UncaughtExceptionHandler
-
- Resolved
-
-
JDK-8090517 Be able to restart the JavaFX Application thread after it has exited
-
- Closed
-
- duplicates
-
JDK-8096920 JavaFX state is not properly cleaned after destroying all JavaFX components
-
- Closed
-
- relates to
-
JDK-8100982 Provide ability to alter the implicit "exit on last window closed" behavior
-
- Closed
-