Monday, March 12, 2012

getText() & setText()

getText() :-
 This method is used to retrieve (or receive) the text of a component like Text Feild at run time
e.g :   name.getText();
setText:-
This method is used to change the  display text  of a component like label, text field or button  at run time
e.g   nn.setText(""+name);

No comments:

Post a Comment

  A Potential Showdown: Kamala Harris vs. Donald Trump As the political landscape gears up for the next election cycle, the prospect of a fa...