+ 2

create 4 buttons in an applet and display no.of clicks on each button

guyzz plz provide a code..am totally confused

10th Aug 2016, 4:34 PM
mounika
mounika - avatar
2 Answers
+ 3
tnq
22nd Aug 2016, 12:23 PM
mounika
mounika - avatar
+ 1
You declare an int called "clicks" and use a button listener. If Event -> clicks++
22nd Aug 2016, 8:45 AM
MolnĂĄr GĂĄbor
MolnĂĄr GĂĄbor - avatar