//TestGUISwing1.java
//Just create and show a JFrame.
//Size is the default obtained by calling pack().

import java.awt.*;
import javax.swing.*;

public class TestGUISwing1
{
    public static void main(String[] args)
    {
        JFrame frame = new JFrame("My JFrame");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        frame.pack();
        frame.show();
    }
}

