//******************************************************************** // FrameDemo.java Author: Lewis and Loftus // // Demonstrates the use of frames. //******************************************************************** import javax.swing.JFrame; public class FrameDemo extends JFrame { //----------------------------------------------------------------- // Sets the title and size of an empty frame. //----------------------------------------------------------------- public FrameDemo () { super ("Frame Demonstration"); setSize (300, 200); } }