I feel stupid to ask, but can you give me a small example code?
Tried a few checks but it doesn't work, google aint helping either.
Here is a part of my code.
There are all CheckBoxes in the answerVector
Code:
for(index=0; index<answerVector.size();index++)
{
answerVector.get(index).addListener(Events.OnClick, new Listener<FieldEvent>(){
@Override
public void handleEvent(FieldEvent be) {
//Target check here be.getTarget() equals or == what?
.
.
.
Made a be.getTarget() == answerVector.get(index)
But it says it cant compare a Element to a CheckBox.
Thanks, Kevin