Assignemnt #42 and Window.java

Code

    /// Name: Boris Kazantsev
    /// Period: 6
    /// Program Name: Window
    /// File Name: Window.java
    /// Date Finished: 11/30/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