posted 12 years ago
Hello,
I'm using GWT 2.4 on Windows 7.
I am writing a program with 3 checkboxes
marked as Red Green and Blue.
Inside the onClick() method I wish to identify which checkbox was clicked.
The program I have at the moment is shown below:
Inside the Window.alert() method I wish to put the checkbox that was clicked, but do not know how to identify it.
It can be done with 3 different handler classes.
One for each checkbox but that does not seem to be an efficient way of doing it.
Has anyone any ideas?