import java.awt.*;
import java.awt.event.*;

/** Hello, ats */
class Application extends Frame {
  Application (String text) {
    super();
    add("North", new Label(text, Label.CENTER));
  }
  public static void main (String args []) {
    Frame f = new Application("Hello, "+System.getProperty("user.name"));
    f.addWindowListener(new WindowAdapter() {
      public void windowClosing (WindowEvent e) {
	System.exit(0);
      }
    });
    f.setTitle(f.getClass().getName() + " Application");
    f.pack();
    f.show();
  }
}

