The files PsPages.java and PsDrawing.java contain the JAVA source
code of the classes needed to run the code generated by the -f java
option of pstoedit.

To use the output, do:
javac PsPages.java
javac PsDrawing.java

pstoedit -f java:myclass myfile.ps myclass.java
javac myclass.java

Then create an HTML document like:

<HTML>
<HEAD>
<TITLE> PsDrawing generated by pstoedit </TITLE>
</HEAD>
<BODY>
This is the applet:<P>
<APPLET code="PsDrawing.class" width=700 height=800>
	<PARAM name="psjavaclass" value="myclass">
</APPLET>
</BODY>
</HTML>

And launch a java enabled web browser.

The classes provide very limited functionality at the moment. 
I'm looking for people interested in extending this. Possible
topics are:
	* adapt to JAVA 2 (the current code was written agains 1.1.4)
	* use the 2D Api (this means changing the drvjava.cpp as well)
	* add zooming and scrolling
	* add printing

Would be a nice student project, wouldn't it?

Finally, the source code is covered by the GPL the same way as pstoedit.
This does not include the code generated by pstoedit! 
See the file Copying in the main directory of the pstoedit distribution
for the details of the GPL.

	Wolfgang Glunz - wglunz@geocities.com
