5

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

Anand
  • 7,654
  • 9
  • 46
  • 60
Biju CD
  • 4,999
  • 11
  • 34
  • 55

1 Answers1

13

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.

Jesper
  • 202,709
  • 46
  • 318
  • 350
  • 3
    +1 -- As a side note, this is one of the main reasons Sun chose to essentially rewrite the Java browser plugin from the ground up. You can learn more about this and JavaFX in general by listening to the May 1 2009 episode of Hanselminutes titled "JavaFX and the Web's Four Virtual Machines." Link: http://www.hanselminutes.com/default.aspx?showID=178 – William Brendel Aug 19 '09 at 16:10