refactors ; some new additions to recording which are critical for cctv softwares
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user