Second Question,
I use IntelliJIdEA and Vaadin Designer, i add a img to a VerticalLayout out an tryed to have the Img as a kind of a Header, but it will not appear on the localhost side.
the image is created from the Designer
@Id("img")
private Image img;
And i ve tryed to connect
Image i = new Image("frontend/turkey-5201498_1920.jpg", "Alternative image text");
i.setSizeFull();
img.add(i);
Doesnt worked, i´ve connected a button Clicklistener this was working
i place the jpg in the project folder /folder/file.jpg
Thank you for the help in front !