All Packages  This Package  Class Hierarchy  Class Search  Index

Class aima.agents.GridFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----aima.agents.GridFrame

This class places a GridDisplay component in a ScrollPane container, puts the ScrollPane in a window, and adds a simple pulldown menu system. The menu uses menu shortcuts. Events are handled with anonymous classes.


public class  GridFrame
     extends java.awt.Frame
{
          // Fields 1
     protected static int num_windows;

          // Constructors 1
     public GridFrame();

          // Methods 1
     public static void main(String[]);
}



Fields


num_windows

   protected static int num_windows

Remember # of open windows so we can quit when last one is closed



Constructors


GridFrame

   public GridFrame() 

Create a Frame, Menu, and ScrollPane for the gridDisplay component




Methods


main

   public static void main(String[] args) 

A very simple main() method for our program.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4