324325326327328329330331332333334
layout.setWidth("100%"); layout.setHeight("100%"); Image image = new Image(); image.setSource(new ThemeResource("images/meme.jpg")); image.addStyleName("demo-meme"); layout.addComponent(image); return layout; }