Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

restart javafx

tsjoepkeApr 17 2012 — edited May 22 2012
I'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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 19 2012
Added on Apr 17 2012
4 comments
1,982 views