Assignemnt #42

Code

///Colin Hinton
///5th period
///Window
///Window.java
///10/8/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

Assignment 1