jorge76
(jorge pinto)
1
Hi,
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
https://vaadin.com/directory#addon/jfreechart-wrapper-for-vaadin
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
Teppo.4
(Teppo Kurki)
2
Hi,
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")));
getUI().addWindow(w);
Note that this example is very simple and omits window sizing etc. You can use any Resource type you need for the image.
-tepi