From Java Academy II:Intermediate Java NPAC/ECS Java Academy -- February to April 98. byTom Scavo
For example, the constructor int scrollbars = TextArea.SCROLLBARS_BOTH; TextArea ta = new TextArea( text, // initial text string 7, 60, // textarea dimensions scrollbars ); creates a TextArea with two scrollbars