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.cerebro.cable.xforce.view; import static com.cerebro.cable.xforce.MyUI.logger; import com.vaadin.navigator.View; import com.vaadin.navigator.ViewChangeListener; import com.vaadin.ui.CssLayout; import com.vaadin.ui.Label; /** * * @author matteo */ public class ErrorView extends CssLayout implements View { public ErrorView() { addComponent(new Label("Errore")); } @Override public void enter(ViewChangeListener.ViewChangeEvent event) { logger.info("View di errore"); } }