Processing Forum
I am using JMyron to capture images from my webcam. I have a JFrame which displays the camera image and it works fine if I start the program after plugging my camera.
If I unplug my cam and start the program I get a warning message that says "There is no video capture device" and program crashes on this line:
I am getting the following error message:
try-catch block does not catch the exception. How can I check if there is a camera so I can handle no camera case?