Change-Id: Idc20efce93e2ee6f7e9cba2eb3676e6e6ec41771
table.addListener(new ValueChangeListener() {
@Override
public void valueChange(ValueChangeEvent event) {
- selectedLabel.setValue(table.getValue().toString());
+ selectedLabel.setValue(String.valueOf(table.getValue()));
}
});
window.addComponent(selectedLabel);
table.addValueChangeListener(new ValueChangeListener() {
@Override
public void valueChange(ValueChangeEvent event) {
- selectedLabel.setValue(table.getValue().toString());
+ selectedLabel.setValue(String.valueOf(table.getValue()));
}
});
addComponent(selectedLabel);