refactors ; some new additions to recording which are critical for cctv softwares

This commit is contained in:
2026-01-21 18:09:30 +01:00
parent 3eaf6f0303
commit c32b5d7278
14 changed files with 405 additions and 278 deletions

View File

@@ -1,6 +1,7 @@
package io.swtc;
import com.github.sarxos.webcam.Webcam;
import io.swtc.proccessing.ui.IconSetter;
import io.swtc.proccessing.ui.iframe.*; // Your custom frames
import javax.swing.*;
import java.awt.*;
@@ -28,6 +29,8 @@ public class SwingIFrame {
mainFrame.setSize(1280, 720);
mainFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
mainFrame.setIconImage(IconSetter.getIcon());
desktopPane = new DesktopPane(cameraToEffects);
desktopPane.setBackground(defDesktopBg);
mainFrame.add(desktopPane, BorderLayout.CENTER);