[BLUEJ-860] Run JavaFX Application goes wrong if no window shown
If you use the right-click menu "Run JavaFX Application" item, but the application class in question does not show a window, then the second time you come to do this, you will get an exception about not being able to launch FX twice. I think the problem is that we wait for Application.launch to return (in ExecServer), which happens by default when the window is closed. But it does not happen if no window is even shown (or if implicit exit is set to false?). So we may need to instead/additionally have code on launch that makes sure to kill the VM if we know we previously launched an FX application in it since the previous restart.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 4.0.0