Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reloading JApplet with JFXpanel (JavaFX in Swing JApplet)

 
Petr Omáčka
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have found some solutions (e.g http://stackoverflow.com/questions/16697366/java-applet-using-javafx) how to embed JavaFX in Swing JApplet but any of these solution is showing how to properly make start() method for the reason of reloading applet.

For sure start() is called after init() a before paint() and every time when applet is reloaded.

I have tried some approaches by myself but anyone has properly worked.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!