• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Event Handling

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
since addComponentlistener(), addKeyListener(),addMouseListener(),addMouseMotionListener() and addFocusListener() methods belong to the Component class all componenets can respond to the corresponding events right???
So, if i get a question like which components generate ComponentEvent and i have given choices like button,frame,textfield etc then i should choose everything that is a subclass of component right???
Please take time to clarify this for me.
Did anyone get which component generate which event type of q's.
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't go into details with regards to actual questions, but I can vaguely tell you the type of questions to expect.
1. You may be asked which components a certain event belongs to.
(It is one of the more specific ones).
2. You may be asked the what the parameter is of a given event
method.
 
reply
    Bookmark Topic Watch Topic
  • New Topic