Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.save.views; import com.save.client.promodeals.ClientPromoUI; import com.vaadin.navigator.View; import com.vaadin.navigator.ViewChangeListener; import com.vaadin.ui.Notification; import com.vaadin.ui.VerticalLayout; /** * * @author jetdario */ public class ClientsPromoView extends VerticalLayout implements View { public ClientsPromoView() { setSizeFull(); addComponent(new ClientPromoUI()); Notification.show("Client View"); } @Override public void enter(ViewChangeListener.ViewChangeEvent event) { //TODO } }