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.wintindustries.pfserver.interfaces.view.dashboard; import com.vaadin.navigator.View; import com.vaadin.ui.Component; import com.vaadin.ui.CssLayout; /** * * @author Admin */ public class ContentWindowManager extends CssLayout { View currentView; Component mainComponent; public ContentWindowManager() { this.setSizeFull(); // first initalize the nothing selected page because, well we have nothing selected this.mainComponent = new EmptyView(); this.addComponent(mainComponent); } }