Search code examples
javaappletjavafx

Is JavaFX a replacement for Java Applets?


Is JavaFX technology for building rich internet applications (RIA) a direct replacement for Java Applets?


Solution

  • No, JavaFX is not a replacement for applets. In fact, the idea is that you write applets that use JavaFX to things like what you can do with Adobe Flash or Microsoft Silverlight.

    So rather than replace applets, it's expected that JavaFX might make applets popular again.

    edit (08/15/2019) my answer above is 10 years old - things have changed. Applets are not supported anymore; Oracle does not provide a Java browser plug-in that can run applets with current versions of Java. Don't write code that uses applets anymore.