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

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -