How To Put Camera into Jframes.?

Hi!
How do you put cameras into jframes? I’ve been looking for answers yet I haven’t found any. We’re trying to stream two cameras on the robot then display them on our custom dashboard.
Any help?

I haven’t sifted through this code very deeply, but here would be an excellent place to start: https://github.com/sarxos/webcam-capture