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

~SIMPLE AND COMPOUND INTEREST~ -Please help- Carly deposited $800 in an account that earns 6% annual compounded semi-annually. Lara deposited
Two standard number cubes are rolled find the probability of a sum equal to 2 and explain ur answer plz
What is 77+(83+15)? In Math
Is mice like cheese a fragment or a sentence
Which of these plant groups may include the ancestors of plants? A. red algae b. green algae c. brown algae d. fungi
What color do the Bolshevik's identify with?
what were four different ways scientist used to get information about the evolutionary history of species?
Which additional word or words in the sentence should be capitalized? The hubble space telescope has been in orbit around earth since 1990. Choose all answers t
What is the idea of Continental Drift?
The surface area of a rectangular prism is 15 m2. What is the surface area of this prism, measured in cm2? A. 0.15 cm2 B. 0.0015 cm2 C. 150,000 cm2 D. 1500