testing some new stuff!

This commit is contained in:
2026-01-18 21:00:24 +01:00
parent e7a3d98dd0
commit c393e05bb1
11 changed files with 917 additions and 415 deletions

View File

@@ -1,11 +1,29 @@
package io.swtc;
import javax.swing.*;
public class Main {
public static void main(String[] args) {
for (int i = 0; i < args.length; i++) {
System.out.println("Arg " + i + ": " + args[i]);
}
try {
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
UIManager.setLookAndFeel(
"com.sun.java.swing.plaf.windows.WindowsLookAndFeel"
);
} catch (Exception e) {
JOptionPane.showMessageDialog(
null,
"Method not supported, Application will run anyways but might look different, and feel different!",
"SWTCCTVWarning",
JOptionPane.WARNING_MESSAGE
);
}
SwingCCTVManager.main(null);
}
}