Two Gentlemen of Verona, Intelligent Rendering

The applet below should render the play Two Gentlemen of Verona, by William Shakespeare. You will need an applet environment which supports the JFC 1.1 APIs, such as JDK 1.2 or a web browser such as Communicator 4.5 with the swingall.jar file installed as a Java extension.

This example needs a browser or applet viewer configured to enable Java and which supports Swing 1.1 beta3. JDK 1.2 is a good choice.

The rendering intelligence here is captured in a handful of customized DOM Elements, which are specialized in two ways. First, unlike most elements, they know how to work in a simple framework that lets them draw their content. Second, they understand some semantic issues relating only to the DTD for these plays.

For an alternate rendering (using less intelligence, and of a different play), try this file.