Returns an enumerated value that indicates which scroll bars the text area uses.
The TextArea class defines four integer constants
that are used to specify which scroll bars are available.
TextArea has one constructor that gives the
application discretion over scroll bars.
java.awt.TextArea.SCROLLBARS_BOTH, java.awt.TextArea.SCROLLBARS_VERTICAL_ONLY, java.awt.TextArea.SCROLLBARS_HORIZONTAL_ONLY, java.awt.TextArea.SCROLLBARS_NONE, java.awt.TextArea.TextArea(java.lang.String, int, int, int)
Diagram: Components