/// Name: Dylan Sleeper /// Period: 6 /// Program Name: Else and If /// File Name: Window.java /// Date Finished: 10/22/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); } }