Добрый день.
Учусь по книжке “Book of Vaadin”.
Почему-то в простом примере
import com.vaadin.Application;
import com.vaadin.ui.*;
CheckBox switchEditable = new CheckBox("Editable");
switchEditable.addListener(new Property.ValueChangeListener() {
public void valueChange(ValueChangeEvent event) {
}
});
при компиляции возникают ошибки :
- The method addListener(Button.ClickListener) in the type Button is not applicable for the arguments (new ValueChangeListener(){})
- Property cannot be resolved to a type
- ValueChangeEvent cannot be resolved to a type
Кажется мне, что нужно еще что-то импортировать, но что?