Important Notice - Forums is archived
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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Vaadin7 two problems. Camera,refresh.
Hi i am newbie in Vaadin, and i try to create project using pi4j. I have two problems, please help me to resove it.
First:
In my Raspberry i have camera streaming video on adress localhost:8081, how can i put this stream to my vaadin webpage?
Second:
I use Rs232 like this:
// create an instance of the serial communications class
final Serial serial = SerialFactory.createInstance();
// create and register the serial data listener
serial.addListener(new SerialDataListener()
{
public void dataReceived(SerialDataEvent event) {
// print out the data received to the console
System.out.print(event.getData());
layout.addComponent(new Label(event.getData()));
}
});
and RS send message to console, but on Vaadin page only shown it if i click some button. I don't know how to show this data every time when meesage came to my app.
Please help.