Answered step by step
Verified Expert Solution
Question
1 Approved Answer
35. Why isn't the address of the application program AUTOMATICALLY given to a GU object when it is added to the GUI (e.g. by the
35. Why isn't the address of the application program AUTOMATICALLY given to a GU object when it is added to the GUI (e.g. by the add0 method of the window's ContentPane) so the application program wouldn't have to remember to call addActionListenerO on the GUI object? A. A GUI object might be temporarily removed from the GUI, but we might not want the address of the call-back application to be removed from the GUI object. B. Even though a GUI object is potentially active, the application program may not want to hear from it when it's "action" happens. C. It may be appropriate that an object other than the one that added the GUI object to the GUI be called when a GUI object's "action" happens. D. It may be appropriate that an object other than the one that created the GUI object be called when a GUI object's "action" happens. E. All of the above. F. None of the above
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started