Java Swing Interview Questions and Answers
Ques. What is an event and what are the models available for event handling?Ans. Changing the state of an object is called an event. An event is an event object that describes a state of change. In other words, event occurs when an action is generated, like pressing a key on keyboard, clicking mouse, etc. There different types of models for handling events are event-inheritance model and event-delegation model. |
Is it helpful?
Yes
No
Most helpful rated by users:
- Why does it take so much time to access an Applet having Swing Components the first time?
- What\'s Java Swing?
- What are the differences between Swing and AWT?
- What is JFC?
- What is AWT?