What is the setTitle() method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the setTitle() method?
Rating:
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.
Rating:
Was this information helpful?
Other articles
- What is a record store?
- What is the paint() method?
- What is over-the-air (OTA) provisioning?
- What is the TextField class?
- What is the getHeight() method?