testing some new stuff!
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user