As are applets - a great idea, implemented poorly, and now essentially lost to the annals of history.
But once we've written something, and it works, we're often a little slow updating it to newer tech, because we can't write a paper out of "the same thing I published earlier, but now using SVG and XHR instead of applets".
If it still just-about works, there's less impetus to rewrite it.
They are obviously years old and rarely signed, which is a shame because quite often there are plenty of demos, none of which I can run with modern default settings of a PC (and sometimes I wouldn't have enough credentials to do anything about it, anyway).
Fundamentally, the languages able to run in the browser are only limited by what the browsers want to implement. It would be great if browsers could render QML, or could use <script type="text/python"> or <script type="text/scala"> or whatever but that requires browsers to either depend on an external JVM or include on in the browser. Or you need to put the QML runtime in the browser or as a dependency. Or you have to put a Python interpreter in the browser or as a dependency.
http://www.java2s.com/Code/JavaScript/Development/UsingJavaS...
I believe that other browsers that supported applets supported these APIs as well.
I don't think that anyone really wants to bring back Java Applets, though.
Likely it was designed, and then used for their first product. Then when that failed, they kept the language for other possible targets.
http://www.oracle.com/technetwork/java/javase/overview/javah...