Question: 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
Get step-by-step solutions from verified subject matter experts
