/**
  *  ======================================================================
  *  PeaceApplication1.java: Peace-on-Earth Application Program (Version 1)
  *
  *  Written by: Mark Austin                                      June 2009
  *  ======================================================================
  */

import javax.swing.*;

public class PeaceApplication1 {
   public static void main( String[] args ) {
  
      // Step 1. Create a PeaceComponent object ....

      PeaceComponent1 pc = new PeaceComponent1();

      // Step 2. Create a gui frame object, add a reference to the pc ...

      JFrame frame = new JFrame( "Peace-On-Earth Application (Version 1)" );
      frame.add( pc );

      // Step 3. Set the gui parameters ...

      frame.setSize( 400, 200 );
      frame.setVisible( true );
   }
}
