Javascript library to reliably load Java Applets?

Flash users have the wonderful SwfObject JavaScript library that abstracts browser differences to reliably embed swfs into their web pages. Is there a JavaScript library like this for Java Applets?


Oracle itself comes with deployJava.js for this. Here’s an example copied from the link:

<script src=""></script>
    var attributes = {codebase:'',
                      width:710, height:540} ;
    var parameters = {fontSize:16} ;
    var version = '1.6' ;
    deployJava.runApplet(attributes, parameters, version);

Leave a Reply

Your email address will not be published. Required fields are marked *