restart javafx
tsjoepkeApr 17 2012 — edited May 22 2012I'm using a swing Dialog with javafx code to play a video.
When I stop the video, I noticed that the program is still using a lot of memory.
I want to stop the javafx thread when I close the Dialog and restart it when I open the next Video (open a new Dialog).
I noticed that I can't call "DISPOSE_ON_CLOSE" because then I get:
"Platform.exit has been called" and I can't call JFXPanel.
Anyone any idea?