/*===============================================================*/ /* Simple.java */ /*===============================================================*/ /** *
 * Simple.java: A basic applet to demonstrate a graphical engine
 *                encapsulated in MyPanel.java
 *
 *
 * Revisions:  1.0  August 17, 1998,
 *                  Created class Simple.java *
 *
 * 
* * @author David Dagon * @version Version 1.0, August 17, 1998, */ /*===============================================================*/ import java.awt.*; import java.applet.*; public class Simple extends Applet { /** *
*
*  init -- set up the applet
*
*  Precondition: The applet has been loaded
*
*  Postcondition: The applet loads an instance of MyPanel.java,
*                  passing a reference to this class to the
*                  applet
*
*  
*/ public void init() { super.init(); setLayout(new BorderLayout()); add (new MyPanel(this), "Center"); } } // class Simple