/*
 *	
 *  Filename: GuessWindow.java
 *  Java Application GuessWindow: 
 *  Controlling class for GuessModel(model) and GuessFrame(GUI viewl)(Lab 7)
 *  Author: Achim E Karger
 *  Course: CSCI 111 Java I
 *  Assignment: Lab 7
 *  Date:   April 26, 2008
 *  compiler JCreator LE
 *
 *  the structure of the guessing program is organized 
 *  in a way similar to a demo for MVC: 
 *  structure/calc-mvc/CalcMVC.java -- Calculator in MVC pattern.
*   Fred Swartz -- December 2004
*   published at  http://leepoint.net/notes-java/GUI/structure/40mvc.html
*
*  here is what Fred has to say about the structure of his(CalcMVC) program:
* Here the same calculator is organized according the the Model-View-Controller (MVC)pattern.  
* The idea is to separate the user interface (the Presentation in the previous example)
* into a View (creates the display, calling the Model as necessary to get information),
* and Controller (responds to user requests, interacting with both the View and
* Controller as necessary).   The literature on MVC leaves room for a number of
* variations, but they all follow this basic idea.  This model is simple and can
* be used with simple method calls.  If there are more complex interactions (eg, 
* the Model is asynchronously updated), an Observer pattern (listeners) may be 
* required.
 * 
 */

import java.awt.*;
/**
 * GuessWindow.java
 *
 *  Controlling class (main) to create model, view(GUI) and controller for a guessing game implemented as a windows application 
 *
 *
 * @author  Achim E Karger
 * @version 1.0 04/28/08
 * @see     java.lang.System
 */
public class GuessWindow {
    public static void main(String args[]) {
        GuessModel       model = new GuessModel();
        GuessFrame       view = new GuessFrame(model);
        GuessController  controller = new GuessController(model, view);
   }
}