Assignemnt #38 Boring Window

Code

///Name: JJ Deng
///Period: 6
///Program Name: A Boring Window
///File Name: BoringWindow.java
///Date Finished: 11/2/15

import javax.swing.*;

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

Picture of the output

Assignment 40