some swing stuff cause swt is heavy and swing isnt
+ SwingCameraWindow + SwingCCTVManager --- fixes in WebcamCaptureLoop.java : Include thread safety, and some more stuff which is needed for Swing components. Planning on deprecating SWT in general
This commit is contained in:
@@ -44,7 +44,11 @@ public class WebcamCaptureLoop {
|
||||
break;
|
||||
}
|
||||
}
|
||||
webcam.close();
|
||||
try {
|
||||
webcam.close();
|
||||
} catch (IllegalStateException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
});
|
||||
captureThread.setName("cam_cap_thread");
|
||||
captureThread.start();
|
||||
|
||||
Reference in New Issue
Block a user