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

what does ''death by a thousand cuts'' mean?
Identity true statements about quadratic function y = ax^{2} +bx+c, where a =/= 0. (1) It reaches either maximum or minimum at the vertex. (2) Its domain consis
The opposite of x squared plus 5?
Helpers are needed to prepare for the fete. Each helper can make either 2 large cakes per hour, or 35 small cakes per hour. The kitchen is available for 3 hour
The area of a trapezoid is 40.92 square centimeters. One base of the trapezoid is 7.4 centimeters and its height is 6.2 centimeters.Which sentence explains how
What is 7:9 in simplist form
Find the area of a triangle with vertices of A(3, 3), B(5, 4), and C(0, 2).
15=7-|2x| Solve for x in this absolute value equation.
where can landforms be found
What word describes what people do when they spread out and live in almost every land area of the world?