Assignment #42

Code

    /// Name: Ian Stanko
    /// Period: 5
    /// Program Name: Window
    /// File Name: Window.java
    /// Date Finished: 10/26/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 42