I need to refresh the page in vaadin. I created a Refresh Button but the button is not working for refreshing the page.
Button Refresh = new Button("Refresh");
Refresh.addClickListener(new Button.ClickListener() {
@Override
public void buttonClick(Button.ClickEvent clickEvent) {
}
});
For Vaadin 10:
Call this in your Button ClickListener:
UI.getCurrent().getPage().reload();