How do you change the scrollbar option on a TextField outside of the defaut constructor?
I'm replying to my own question just in case anyone else comes across the same problem. In the component TextArea, there is a way to seperatly specify text, rows and columns outside the constructor. However there is not a specific way to specify the mode for the scrollbars. This is a problem if you want to specify this and are extending a class by TextArea.
What to do:
use super within the class's constructor to set an initial value for text, rows, columns and at the same time scrollbars so
that each time you create an instance of this class this specifications will also be called.
super(String text, int rows, int columns, int scrollbars);
Shari