import java.awt.Frame;
import java.awt.TextArea;

public class TestGui {
  public static void main(String[] args) throws Exception {
    Frame f = new Frame();
    TextArea textArea = new TextArea();
    f.add(textArea);
    f.setVisible(true);
    Thread.sleep(1000);
    f.dispose();
  }
}
