- update applet deployment with lwjgl 2.8.0-nightly (fixes for MacOSX and Linux) git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8177 75d07b2b-3a1a-0410-a2c5-0572b91ccdca3.0
parent
29dbdc08a4
commit
7508d6c9bc
@ -0,0 +1,48 @@ |
||||
<!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> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue