May 24, 1998. DocWriter has befallen one of the awful fates of web programming. Something changed in Netscape 4 and it doesn't work reliably anymore. I haven't had the time or the motivation to track down the problem, prehaps you can. To see a more modern example of Java/Javascript integration, you might want to take a look at the Freedom VR applet which lets you embed photographic VR models in web pages without plugins and uses Javascript to program hotspots.

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.

This applet uses LiveConnect: It needs Netscape 3.0 or later to run

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.


Copyright © 1997 honeylocust media systems, contact