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

The number 57,733 contains two sets of digits in which one,digit is ten times as great than the other.What are the values of the digit in each set
what is the x and y intercept of the parabola y=x^2-6x+10 and ow do you graph the equation
What mark did tom walker find when he reached home
a quadratic equation with a negative discriminant has a graph that ? plz help
Which is bigger 0.45 or 2/5
Thirty subtracted from four times a number is greater than the opposite of 10
Write the ratio of the length to the width of a picture that is 10 1/2 inches long and 8 3/4 inches wide
What is 15/100 in simplest form
Which of the following is not a true statement regarding the writing process? A. It can be used to develop any type of writing. B. It can guide the author from
A 1200kg car moving at 25m/s has the brakes applied with a deceeration of 8.0m/s^2. How far does the car travel before it stops?