Abstract Window Toolkit (AWT) Question:
Download Questions PDF

How can a GUI component handle its own events?

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?