Refresh dialog window every X seconds

I have a dialog window that gets a single frame from an IP camera’s stream, but I’d like to refresh the image every X seconds. Is it possible to do without JavaScript? If not, can I execute JavaScript and refresh that way?

Thanks,
Lewis

Hello!

Jmix 2.1 will have the Timer facet: Implement Timer facet · Issue #2106 · jmix-framework/jmix · GitHub

For Jmix 2.0, take a look at custom implementation of timer: Alternative to Timer.java class of cuba in jmix 2.0