Skip to content

Instantly share code, notes, and snippets.

@Morse-Code
Created April 27, 2012 14:52
Show Gist options
  • Save Morse-Code/2509887 to your computer and use it in GitHub Desktop.
Save Morse-Code/2509887 to your computer and use it in GitHub Desktop.
Java Applet Deploy Parameters
<script src="http://www.java.com/js/deployJava.js"></script>
<script>
var attributes = { id:'sorryApplet', code:'sorryGame.GameApplet', archive:'sorryGame.jar', width:1, height:1};
var parameters = {fontSize:16, jnlp_href:'sorryGame-applet.jnlp', java_status_events: 'true'};
var version = '1.6';
deployJava.runApplet(attributes, parameters, version);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment