Example usage for Java java.awt TextArea fields, constructors, methods, implement or subclass
The text is from its open source code.
int | SCROLLBARS_VERTICAL_ONLY Create and display vertical scrollbar only. |
int | SCROLLBARS_NONE Do not create or display any scrollbars for the text area. |
TextArea() Constructs a new text area with the empty string as text. | |
TextArea(int rows, int columns) Constructs a new text area with the specified number of rows and columns and the empty string as text. | |
TextArea(String text, int rows, int columns) Constructs a new text area with the specified text, and with the specified number of rows and columns. | |
TextArea(String text, int rows, int columns, int scrollbars) Constructs a new text area with the specified text, and with the rows, columns, and scroll bar visibility as specified. |
void | append(String str) Appends the given text to the text area's current text. |
String | getText() Returns the text that is presented by this text component. |
void | setEditable(boolean b) Sets the flag that determines whether or not this text component is editable. |
void | setText(String t) Sets the text that is presented by this text component to be the specified text. |