//*******************************************************************
//
//   Mimic.java          In Text          Applet
//
//   Authors:  Lewis and Loftus
//
//   Classes:  Mimic
//
//*******************************************************************

import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;

//-------------------------------------------------------------------
//
//  Class Mimic demonstrates a simple component and an action
//  event.
//
//  Methods:
//
//     public void init()
//     public void update_label()
//
//-------------------------------------------------------------------

public class Mimic extends Applet {

   Mimic_GUI gui = new Mimic_GUI (this);

   //===========================================================
   //  Initializes the applet by intializing the GUI.
   //===========================================================
   public void init() {
      gui.init();
   }  // method init

   //===========================================================
   //  Updates the label in the GUI with the text that was
   //  entered in the text field.  Also prints a message to
   //  standard output indicating the action event.
   //===========================================================
   public void update_label() {

     //      System.out.println("Action");
      gui.update_label (gui.get_quote());

   }  // method set_uppercase

}  // class Mimic


