now runs much better with lower power systems as we refactored code to firstly rule out double invokelaters, and we optimized the capture loop iteslf!
and we introduced a ShowError class which will be refactored and used quite thoroughly!
Signed-off-by: rattatwinko <seppmutterman@gmail.com>
changed:
/ SwingIFrame ; Some new methodes for setting bg color, and fullscreen, keybinds are "F11" and "B"
/ WebcamCaptureLoop.java ; Safety is key!
---
rattatwinko
modified:
/ SwingCCTVManager ; Error Pane, refactoring
/ WebcamCaptureLoop ; cleanup method for closing cameras reliably, and some MessageDialogs for error handling (just fails lol)
/ SwingCameraWindow ; refactor some legacy code into a "modern" lambda function , Message Dialog for error handling , and some g2d stuff (paintComponent)
removed:
- CameraRenderer.java ; Deprecated Component, was used for SWT GL Surfaces. We dont do that now!
---
rattatwinko
+ 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