java - Alternative to deployJava.runApplet -
java - Alternative to deployJava.runApplet -
i want load applet
in html
page using javascript
, tried load deployjava
as:
<script> var attributes = { id: "myapplet", code: "mycode", archive: "myapplet.jar, lib/jna.jar, lib/junit-4.10.jar, lib/native.bat", width: 30, height: 30 }; var parameters = {jnlp_href:"launch.jnlp"}; <!-- applet parameters --> if (deployjava.versioncheck("1.6+") == false) { alert("no java or wrong version"); } else { alert("java found"); } var version = "1.6"; <!-- required java version --> deployjava.runapplet(attributes, parameters, version); </script>
but don't want utilize deployjava
class. there alternative loading applet
in javascript?
java javascript applet
Comments
Post a Comment