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

Question 2 Unsaved A square has a side length of 2x+1. If the perimeter is 28, what is x?
NEED HELP ASAP!!!!!! Write one paragraph that evaluates the effectiveness of Jack Zipes’s essay.
Which of these websites has the most credible author? a US government website a website written by an individual a nonprofit website a company website
The chinese government counts nearly 230 million internal migrants floating in china's cities. what draws most of these internal migrants?
The fact that brenda completes her projects is an indication of her ________ as a manager.
The overall purpose of the countercurrent exchange system is to __________.
Describe how the concept of competition to the economy
Hakeem has an order for 4180 blocks to pack, but he has run out of crates to pack the thousands.How can Hakeem pack the blocks?
What’s the relative location for Dallas
Is my answer correct