You can launch the applet using the web page by clicking on the link / button. I mean onclick links / button, I want to run an applet that should not be embedded in a web page. It should run outside the web page. Thanks in advance!!
using javascript i did this thing but i want it to be like msgbox popup message.
<script src="http://www.java.com/js/deployJava.js"></script> <script> function showApplet() { var attributes = {code:'myform.form.class', archive:'applet.jar', width:710, height:540} ; var parameters = {fontSize:16} ; var version = '1.6' ; deployJava.runApplet(attributes, parameters, version); } </script> <button onclick="javascript:showApplet()" value="Show" ></button>
user918477
source share