What is the itemStateChanged() 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 itemStateChanged() method?
Rating:
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.
Rating:
Was this information helpful?
Other articles
- What is the getProperty() method?
- What is the getTimeout() method?
- What is the start() method?
- What is the setString() method?
- What is the getResourceAsStream() method?