Advertisement
Guest User

Java Applet

a guest
Dec 23rd, 2012
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.93 KB | None | 0 0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3.   <head>
  4.     <style type="text/css">
  5.       body { text-align:center;
  6.              margin:0 auto;
  7.              margin-left:0px;
  8.              margin-right:0px;
  9.              margin-top:10px;
  10.              margin-bottom:10px }
  11.     </style>
  12.     <title>MyGame Web</title>
  13.   </head>
  14.   <body text="#000000"
  15.        bgcolor="#FFFFFF"
  16.        link="#FF0000"
  17.        alink="#FF0000"
  18.        vlink="#FF0000">
  19.     <applet code="org.lwjgl.util.applet.AppletLoader"
  20.            archive="lwjgl_util_applet.jar, lzma.jar"
  21.            codebase="./GAME-LIB/"
  22.            width="800" height="600">
  23.  
  24.       <!-- The following tags are mandatory -->
  25.  
  26.       <!-- Name of Applet, will be used as name of directory it is saved in, and will uniquely identify it in cache -->
  27.       <param name="al_title"
  28.             value="SpaceWalk">
  29.  
  30.       <!-- Main Applet Class -->
  31.       <param name="al_main"
  32.             value="org.newdawn.slick.AppletGameContainer">
  33.       <param name="game"
  34.             value="org.myorg.SpaceWalk.SpaceWalk">
  35.  
  36.       <!-- logo to paint while loading, will be centered -->
  37.       <!--param name="al_logo"
  38.             value="appletlogo.png"-->
  39.  
  40.       <!-- progressbar to paint while loading. Will be painted on top of logo, width clipped to percentage done -->
  41.       <param name="al_progressbar"
  42.             value="appletprogress.gif">
  43.  
  44.       <!-- List of Jars to add to classpath -->
  45.       <param name="al_jars"
  46.             value="slick.jar, signedspacewalk.jar, lwjgl.jar.pack.lzma, jinput.jar.pack.lzma, lwjgl_util.jar.pack.lzma">
  47.  
  48.       <!-- signed windows natives jar in a jar -->
  49.       <param name="al_windows"
  50.             value="windows_natives.jar.lzma">
  51.  
  52.       <!-- signed linux natives jar in a jar -->
  53.       <param name="al_linux"
  54.             value="linux_natives.jar.lzma">
  55.  
  56.       <!-- signed mac osx natives jar in a jar -->
  57.       <param name="al_mac"
  58.             value="macosx_natives.jar.lzma">
  59.  
  60.       <!-- signed solaris natives jar in a jar -->
  61.       <param name="al_solaris"
  62.             value="solaris_natives.jar.lzma">
  63.  
  64.       <!-- Tags under here are optional -->
  65.  
  66.       <!-- Version of Applet, secondary cache if used applet will start faster, version change will update applet, must be int or float -->
  67.       <!-- <param name="al_version" value="0.1">
  68. -->
  69.  
  70.       <!-- background color to paint with, defaults to white -->
  71.       <!-- <param name="boxbgcolor" value="#000000">
  72. -->
  73.  
  74.       <!-- foreground color to paint with, defaults to black -->
  75.       <!-- <param name="boxfgcolor" value="#ffffff">
  76. -->
  77.  
  78.       <!-- whether to run in debug mode -->
  79.       <!-- <param name="al_debug" value="true">
  80. -->
  81.  
  82.       <!-- whether to prepend host to cache path - defaults to true -->
  83.       <!-- <param name="al_prepend_host" value="true">
  84. -->
  85.      </applet>
  86.   </body>
  87. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement