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:
2026-01-11 21:09:51 +01:00
parent ddba427205
commit 965bed6801
7 changed files with 432 additions and 4 deletions

View File

@@ -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();