Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><a href="http://jameswilliams.be/blog/entry/158" rel="nofollow noreferrer">http://jameswilliams.be/blog/entry/158</a> appears do accomplish this using <code>deployJava.runApplet</code>. This was from October 2009, so I don't know if the API has changed much:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt; &lt;Module&gt;http://dl.getdropbox.com/u/738191/staging/applet.html &lt;ModulePrefs title="Hello Wave"&gt; &lt;Require feature="wave" /&gt; &lt;/ModulePrefs&gt; &lt;Content type="html"&gt; &lt;![CDATA[ &lt;script&gt; function increment() { var num = wave.getState().get("num", 0); num++; wave.getState().submitDelta({"num":num}); } function getValue() { return wave.getState().get("num", 0); } &lt;/script&gt; &lt;script src="http://java.com/js/deployJava.js"&gt;&lt;/script&gt; &lt;script&gt; var attributes = {id: 'TestWave', codebase:'&lt;codebase&gt;', code:'griffon.applet.GriffonApplet', archive:'griffon-rt-0.2-BETA.jar,TestWave.jar,plugin.jar,groovy-all-1.6.4.jar', width:'480', height:'320'} ; var parameters = {fontSize:16, java_arguments: "-Djnlp.packEnabled=true", jnlp_href:'&lt;codebase&gt;/applet.jnlp', draggable:'true', image:'griffon.png', boxmessage:'Loading TestWave', boxbgcolor:'#FFFFFF', boxfgcolor:'#000000', codebase_lookup: 'false'} ; var version = '1.5.0' ; deployJava.runApplet(attributes, parameters, version); &lt;/script&gt; &lt;!-- &lt;APPLET CODEBASE='&lt;codebase&gt;' CODE='griffon.applet.GriffonApplet' ARCHIVE='griffon-rt-0.2-BETA.jar,TestWave.jar,plugin.jar,groovy-all-1.6.4.jar' WIDTH='240' HEIGHT='320'&gt; &lt;PARAM NAME="java_arguments" VALUE="-Djnlp.packEnabled=true"&gt; &lt;PARAM NAME='jnlp_href' VALUE='&lt;codebase&gt;/applet.jnlp'&gt; &lt;PARAM NAME='dragggable' VALUE='true'&gt; &lt;PARAM NAME='image' VALUE='griffon.png'&gt; &lt;PARAM NAME='boxmessage' VALUE='Loading TestWave'&gt; &lt;PARAM NAME='boxbgcolor' VALUE='#FFFFFF'&gt; &lt;PARAM NAME='boxfgcolor' VALUE='#000000'&gt; &lt;PARAM NAME='codebase_lookup' VALUE='false'&gt; &lt;/APPLET--&gt; ]]&gt; &lt;/Content&gt; &lt;/Module&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload