package NGPdemos; /** * Example1aApp.java * * * Created: Thu Feb 15 16:27:53 2001 * * @author Brown U. lecture notes */ public class Example1aApp extends NGP.Containers.Frame{ private NGP.Containers.DrawingPanel _drawingPanel; private NGP.Graphics.FilledEllipse _circle; public Example1aApp (){ // constructor of NGP.Containers.Frame takes a // string for the name of the window. super("NGP Rocks!"); _drawingPanel = new NGP.Containers.DrawingPanel(this); _circle = new NGP.Graphics.FilledEllipse(_drawingPanel); } public static void main (String[] args) { Example1aApp app = new Example1aApp(); } // end of main () }// Example1aApp