DocWriter is a quick program I wrote to demonstrate how a java applet can use Netscape's LiveConnect to write information directly into a browser window. When you click on the Go! button in the applet below, the applet generates a table of sines, cosines and tangents and writes it to another window. Once the data has been written, the user can print it or save it to a file.
DocWriter is rough, and I'm sure you can do better. LiveConnect makes it possible for Java applets to save results and print information without threatening Java security in any way.
DocWriter.java, and the class file
DocWriter.class. Use View Source to see how the applet fits in the page.
java_30file and name it something like
netscape.Copy that whole directory into a directory named
netscapethat is underneath your CLASSPATH.