What method do you call to register an event handler with a Button control?

a. setAction
b. onClickAction
c. setOnClick
d. setOnAction


d. setOnAction

Computer Science & Information Technology

You might also like to view...

The default Quick Access Toolbar buttons are: Save, Repeat, Undo, and ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following options will redisplay, upon restart, any windows that you had open when Windows Vista was shut down?

A) Display on restart B) Launch folder windows in a separate process C) Remember each folder's view settings D) Restore previous folder windows at logon

Computer Science & Information Technology