The code TextArea t = new TextArea(10, 30); creates a new TextArea object and initializes it to 10 lines high and 30 characters wide. In order for the TextArea to be visible, however, add(t); is necessary to add it to a container (e.g., a panel). By defualt, strings written into the TextArea do not wrap to new lines.