			    MMAKE WORKSHOP

BEFORE YOU READ THIS: Do a perldoc mmake to read the documentation
of mmake, with a careful eye to the section on C preprocessing.

This directory contains an example of how to create different Java
versions of an Applet. The Applet source-code contains CPP-
conditionalis to be able to compile the Applet to Java 1.0 or Java 1.1
class-files. The compilation of the Applet is done via the Makefile in
this directory. The Makefile is, of course, created by mmake.

Do a "make doc" to create HTML-documentation of the Applet. Load the
doc/packages.html file into your favorite browser to have a look at
what the Applet does.

Then do a "make all" to compile the Applet as Java 1.0 code. It is the
VERSION macro in the Makefile that controls the version you will
obtain. To compile the Applet as Java 1.1 code, simply change VERSION
to JAVA1_1. (To do so, you must have JDK1.1.x installed).  But first,
do a "make clean" to remove .class and .java files before you make
the Applet again.


Have a look at the tildeslash/StartApp.xjava code to see how you can
write your own code to support different versions, with CPP-
conditionalis.


FILES IN THIS DIRECTORY:
-----------------------
README:      This file

Makefile:    The Makefile, generated with mmake

index.html:  HTML-file to load the Applet. The file is best viewed in
             Netscape, since the appletviewer strips everything except
             the <APPLET> tag.

doc:         Javadoc documentation of the Applet

doc/images:  Images used by Applet documentation files

images:      Directory with Images, used by the Applet

tildeslash:  Package directory containing the source-code for the Applet.


--
Jan-Henrik Haukeland <hauk@tildeslash.com>

