Monday, 11 September 2017

TextArea



It is a two dimensional array to write text.
constructors:-
TextArea();
TextArea(int rows,int cols);
TextArea(String text);
TextArea(String text,int rows,int cols,int scrollbar);      
          TextArea.SCROLLBARS_BOTH(0)
          TextArea.SCROLLBARS_VERTICAL_ONLY(1)
              TextArea.SCROLLBARS_HORIZONTAL_ONLY(2)
          TextArea.SCROLLBARS_NONE(3)

methods:-
public void append(String);
public void insert(String,int);

No comments:

Post a Comment

Featured post

Development Of JAVA Program