I don't know how to solve below problem. I have got a code like below:
public class MyWindow{
private Button saveButton;
private Application saveImplementation;
void createSaveButton() {
saveButton.addListener(new Button.ClickListener() {
@Override
public void buttonClick(Button.ClickEvent event) {
this.saveImplementation.save();//Cannot resolve symbol 'saveImplementation'
}
});
}
}
In saveButton.addListener I cannot refer to saveImplementation, which is a field of class MyWindow - can you help me? How can I solve it?