Java Event Handling Question and Answers
| 5. | What is the purpose of the enableEvents() method? |
|---|---|
|
|
| 6. | What are the advantages of the model over the event inheritance model? |
|---|---|
The event delegation model has two advantages over the event inheritance model. They are
|
|
| 7. | What event results from the clicking of a button? |
|---|---|
| The ActionEvent event is generated as the result of the clicking of a button. | |
| 8. | What is source and listener? |
|---|---|
|
|