Question
a.
ComponentListener
b.
ContainerListener
c.
FocusListener
d.
InputListener
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of these interfaces handles the event when a component is added to a container?
Similar Questions
Discover Related MCQs
Q. Which of these packages contains all the event handling interfaces?
View solution
Q. Which of these is superclass of WindowEvent class?
View solution
Q. Which of these are constants defined in WindowEvent class?
View solution
Q. Which of these methods is used to get x coordinate of the mouse?
View solution
Q. MouseEvent is subclass of which of these classes?
View solution
Q. Which of these methods is used to obtain the object that generated a WindowEvent?
View solution
Q. Which of these are integer constants of TextEvent class?
View solution
Q. Which of these methods can be used to change location of an event?
View solution
Q. Which of these methods can be used to obtain the coordinates of a mouse?
View solution
Q. Which of these events is generated when the window is closed?
View solution
Q. Which of these is superclass of ContainerEvent class?
View solution
Q. Which of these methods can be used to know the type of focus change?
View solution
Q. FocusEvent is subclass of which of these classes?
View solution
Q. Which of these events is generated when computer gains or loses input focus?
View solution
Q. Which of these are integer constants of ComponentEvent class?
View solution
Q. Which of these methods can be used to get reference to a component that was removed from a container?
View solution
Q. Which of these methods can be used to obtain the reference to the container that generated a ContainerEvent?
View solution
Q. Which of these events is generated when the component is added or removed?
View solution
Q. Which of these events is generated when the size of an event is changed?
View solution
Q. Which of these constant value will change when the button at the end of scroll bar was clicked to increase its value?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!