import java.awt.*; import java.applet.*; public class TextAreaDemo extends Applet { public void init() { TextArea textArea = new TextArea(5, 25); textArea.setText("place your message here"); add(textArea); } }