• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic