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.

0 comments:

Post a Comment

 
Copyright © Interview Questions and answers - Blogger Theme by BloggerThemes & freecsstemplates - Sponsored by Internet Entrepreneur