The window in this example belongs to a class named ShapeDrawFrame, which is defined as a subclass of Frame. The applet creates the window with the statementshapeDraw = new ShapeDrawFrame();The constructor sets up the structure of the window and makes the window appear ...
See more