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

35
pom.xml
View File

@@ -8,6 +8,41 @@
<artifactId>swtc</artifactId>
<version>1.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>io.swtc.Main</mainClass>
</transformer>
</transformers>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>