Image popup

I wanted to know if someone can give me a hint of how i can pop up a certain image like in vaadin’s highlight in the following link

i’ve been trying to do this, but all i can do is send it to a window but it’s not working as intended.

Thank you in advance


that is just a Vaadin Window. You could do something like this:

Window w = new Window();
w.setContent(new Image("caption", new ExternalResource("http://urltoyourimage")));

Note that this example is very simple and omits window sizing etc. You can use any Resource type you need for the image.