import javax.swing.JFrame;

public class JustAWindow extends JFrame {
    
    // Dimensions of the window to create}
    private static final int WINDOW_WIDTH = 300;
    private static final int WINDOW_HEIGHT = 300;
    
    // Create an empty window on the screen}
    public static void main ( String args[] ) {
        JFrame self = new JustAWindow() ;
        
        self.setSize( WINDOW_WIDTH, WINDOW_HEIGHT);
        self.setTitle("Just an empty window");
        
        self.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
        self.setVisible(true);
    }
}
