/** * Tests PaintedWindow, a class intended to demonstrate * the paint method for Container objects (MainWindow * is a great-grandchild subclass of Container, and thus * has a paint method). Read this code carefully and then * move on to PaintedWindow. * * @author Jeff Ondich */ import javabook.*; class PaintedWindowTester { public static void main() { PaintedWindow pw = new PaintedWindow( "Check it out" ); } }