Assignment 42 and Window

Code

/// Name: Matthew Hughs
/// Period: 5
/// Program Name: Window
/// File: Window.java
/// Date Finished: 11/9/2015

import javax.swing.*;

public class Window extends JFrame
{
    public static void main (String [] args)
    {
        JFrame f = new Window();
        f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
        f.setSize(300, 200);
        f.setVisible(true);
    }
}
    

Picture of the output

Window