If so, can someone point me in the direction of an example? Or even some code?!
I'm guessing that I can't as the applet embedded in a gadget using the following...
var div = document.getElementById('content_div');
div.innerHTML =
"<applet CODE='http://www.echoecho.com/lake.class' width='370' height='200'>
<param name='image' value='http://www.echoecho.com/sunset.gif' />
</applet>"
... doesn't work. Maybe I'm over-simplifying the gadget code?
** UPDATE... My next attempt was the following, and still no luck...
...
<script src="http://java.com/js/deployJava.js"></script>
<script>
...
// end of code copied from Google's basic counter gadget...
gadgets.util.registerOnLoadHandler(init);
var attributes = {
code:'http://www.....co.uk/wave/applets/DrawingLines.class',
width:'300',
height:'300'} ;
deployJava.runApplet(attributes);
</script>
<input type=button value="Click Me!" id="butCount" onClick="buttonClicked()">
<input type=button value="Reset" id="butReset" onClick="resetCounter()">
]]>
</Content>
</Module>
I just get Java error box with the top error: "load: class http://www.....co.uk/wave/applets/DrawingLines.class not found.".