indiaseel4620 indiaseel4620
  • 23-08-2019
  • Computers and Technology
contestada

Every event object has the _____ method that can be used to identify the component that triggered the event.
getSource()
getAction()
getTrigger()
getComponent()

Respuesta :

Branta Branta
  • 26-08-2019

Answer:

getSource()

Explanation:

Every event object has the getSource() method that can be used to identify the component that triggered the event.

For example , if a button is pressed on the user interface, this results in its event handler code getting executed. The event handler takes as parameter an Event object. This event object reference can then be used by the handler code to access the event source reference by calling event.getSource() .

Answer Link

Otras preguntas

During the European Middle Ages, guilds were created to (1) obtain better working conditions in factories (2) standardize goods and prices (3) regulate the
Doesn't hydrogen have one energy level assuming that we only have one electron and not an ion?
Why does Rosa Parks explain “what kind of tired” she was?
Were the Versailles treaties fair? Consider all the nations affected.
What is the brain made out of?
Which value is a solution of the equation 85= 120-w?
What Nazi action marked the final stage of the “Final Solution”?
Why do you think the Church wanted to forbid people to read certain books?
The polis or city-state of ancient Greece was __________. a. an agricultural province controlled by a governor b. colony established overseas c. an independent
as additional KNO3(s) is added to a saturated solution of KNO3 at constant temperature, the concentration of the solution? (I know it remains the same but why??