The itemStateChanged() method is a method of the ItemListener interface. It is called in the application when a user selects or deselects an item on the screen. It contains the code to be executed when a user performs a selection or deselection action. The general syntax of this method is as follows:
Here, e is an instance of the Item class.
Click here to download scmad test study guide and practice question. 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.