A Boring Window

Code

    /// Name: Rachel Smith
    /// Period: 5
    /// Program Name: A Boring Window
    /// File Name: ABoringWindow.java
    /// Date Finished: 10/26/2015
    
    import javax.swing.*;
    
    public class ABoringWindow extends JFrame {
        
        public static void main( String[] args ) {
            
            JFrame f = new ABoringWindow();
            f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            f.setSize(300, 200);
            f.setVisible(true);
            
        }
    }

    

Picture of the output

Assignment 1