ATextArea
is a scrollable multiline area for displaying text. It may be setup to be either editable or not editable through theTextComponent setEditable
method. Constructors allow you to specify the number of rows and columns as well as text to be displayed in the area.Example:
TextArea lifeHistory = new TextArea ( "Your Life History", 10, 40 );