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.
Download free practice test for SUN SCMAD exam. Become SUN SCMAD Mobile Application Developer certified.
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.