Abstract Window Toolkit (AWT) Question:

Download Job Interview Questions and Answers PDF

How can a GUI component handle its own events?

AWT Interview Question
AWT Interview Question

Answer:

A component can handle its own events by implementing the required event-listener interface and adding itself as its own event listener.

Download AWT Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between the Font and FontMetrics classes?What interface is extended by AWT event listeners?