TextArea
component that lets you edit some text.
import java.awt.*;
public class FrameTester {
public static void main(String[] args) {
Frame myFrame = new Frame("My Frame");
myFrame.setSize(250, 250);
myFrame.setLocation(300,200);
myFrame.add("Center", new TextArea(10, 40));
myFrame.show();
}
}
This window cannot be closed because it does not yet respond to the WINDOW_CLOSING
event.