Assignemnt #42 A Frame with a Panel with Writing on It

Code

    ///Name: Prooz Fereydouni
    ///Period: 7
    ///Project Name: BoringWindow
    ///File Name: BoringWindow.java
    ///Date: 10/28/2015
  
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

assignment42