posted 25 years ago
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.