To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
Following does not show image on the screen:
myImage..jpg is placed under WebContent folder.
Embedded em = new Embedded("", new External Resource("./myImage.jpg");
I tried "myImage.jpg", "/myImage.jpg" and "./myImage.jpg". None of them work. What am I doing wrong?
created VAADIN/themes/raindeer/mythemes/images/myImage.jpg and then used ThemeResource. Image now shows