The setTitle() method is a method of the Displayable class. It is used to change a string associated with a given TextBox. The general syntax of this method is as follows:
Here, the str parameter defines the caption or label to be displayed with a given TextBox object.
Download free practice test for SUN SCMAD exam. Pass SUN CX310-110 - SCMAD Mobile Application Developer
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
