## Running applet in web browser

Details are given on the file structure of the required files, and <APPLET> tag to enable the applet to run in a web browser.

The applet currently requires Java Runtime Environment (JRE) 1.4 or higher to run, which can be obtained from www.java.com

The recommended file structure is:

  applet.html
  \dragmath

  \Display

  MainApplet.class

  \lang

  en.xml

  \formats

  Maple.xml
  Latex.xml
  MathML.xml
  Maxima.xml

  AbsoluteLayout.jar
  swing-layouts-1.0.jar
  jdom.jar
  jep.jar
  Project.jar

Using this structure the following <APPLET> tag should be used:

<applet name= "dragmath" codebase="classes" code= "Display.MainApplet.class" archive= "Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,,jdom.jar,,jep.jar" width= 540 height= 300 >
<param name= language value= "en" >
</applet >

All of the .jar files in the \dragmath directory require digitally signing. A tutorial on how to do this can be viewed at,
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html#example