A complete 3D game development suite written purely in Java.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
jmonkeyengine/sdk/jme3-lwjgl-applet/applet-loader/applet-template.html

48 lines
1.6 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Launcher Page for ${applet.title} Applet</title>
</head>
<body>
<div align="center">
<h2>Launcher Page for ${applet.title} Applet</title>
<br/>
<!-- ***************************************************** -->
<!-- Copy this section into your website to use the applet -->
<!-- ***************************************************** -->
<script src="http://www.java.com/js/deployJava.js"></script>
<script>
var attributes = {code:'org.lwjgl.util.applet.AppletLoader',
archive:'${applet.archive}',
codebase:'.',
width:${applet.width}, height:${applet.height}};
var parameters =
{
AppClass:'${applet.main.class}',
al_title:'${applet.title}',
al_main:'com.jme3.app.AppletHarness',
al_logo:'${applet.logo}',
al_progressbar:'appletprogress.gif',
al_jars:'${applet.classpath}',
al_windows:'windows_natives.jar.lzma',
al_linux:'linux_natives.jar.lzma',
al_mac:'macosx_natives.jar.lzma',
al_solaris:'solaris_natives.jar.lzma',
separate_jvm:'true',
boxborder:'false',
centerimage:'true',
image:'${applet.logo}',
java_arguments:'-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false'
};
var version = '1.5' ;
deployJava.runApplet(attributes, parameters, version);
</script>
<!-- ***************************************************** -->
<!-- ***************************************************** -->
</div>
</body>
</html>