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 dhbw.clippinggorilla.userinterface.views; import com.vaadin.server.VaadinSession; import com.vaadin.ui.Image; import com.vaadin.ui.VerticalLayout; import java.util.HashMap; /** * This is the class for the Home view * @author frank */ public class HomeView extends VerticalLayout { private static final HashMap<VaadinSession, HomeView> SESSIONS = new HashMap<>(); public static HomeView getCurrent() { return new HomeView(); } public HomeView() { Image backgroundImage = new Image(); } }