import java.applet.Applet; import java.awt.*; /** * An applet that displays the Ford and Dirichlet fundamental domains on the * boundary of real hyperbolic three-space for a cyclic subgroup of PSL(2,C) * whose trace the user choses; also computes and displays a decomposition of * the plane of traces by the combinatorial type of the corresponding * fundamental domain. Designed to accompany the paper Ford and Dirichlet * domains for cyclic subgroups of $PSL(2,\Bbb C)$ acting on $H^3_{\Bbb R}$ * and $\partial H^3_{\Bbb R}$, by Todd A. Drumm and Jonathan A.  * Poritz, Conform. Geom. Dyn., 1999. * * @author Jonathan A. Poritz * @version 1.7, 17 Sep 1998 */ public class FDBApplet extends Applet { /** * A panel displaying the computed fundamental domains and some controls. */ OutputPanel outputpanel; /** * A panel containing the planes for graphically selecting input parameters * or displaying the combinatorial decomposition, as well as some controls. */ InputPanel inputpanel; /** * Initialize the applet, creating and displaying the input and output * panels. */ public void init() { // use a simple layout manager for the overall display setLayout(new FlowLayout(FlowLayout.CENTER, 20, 0)); // create the input and output panels and add them to our display outputpanel = new OutputPanel(); inputpanel = new InputPanel(outputpanel); add(inputpanel); add(outputpanel); } }