What is the setCurrent() 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 setCurrent() method?
Rating:
The setCurrent() method is a method of the Display class. It is used to display objects on the screen. The general syntax of this method is as follows:
The instance of the class to be displayed is passed as an argument to this method. For example, the syntax below is used to display a Form instance named form:
Rating:
Was this information helpful?
Other articles
- What is the getDefaultTimeout() method?
- What is the purpose of implementing MIDletStateChangeException in code?
- What is the Vector class?
- What is the close() method?
- What is the HttpConnection interface?