The setTicker() method is a method of the Screen class. It is used to associate a Ticker with an instance of a Screen object. The general syntax of this method is as follows:
Here, tick is the instance of the Ticker class.
For example, the syntax to associate a Ticker t2 with the TextBox instance t1 is as follows:
It will display the scrolling text message with the TextBox.
Get certified in first attempt download scmad - SCMAD simulation. Download free practice test for SUN SCMAD Mobile Application Developer exam.