aboutsummaryrefslogtreecommitdiff
path: root/src/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.java')
-rw-r--r--src/Main.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Main.java b/src/Main.java
new file mode 100644
index 0000000..c02430a
--- /dev/null
+++ b/src/Main.java
@@ -0,0 +1,20 @@
+import UI.MainWindow;
+
+import javax.swing.*;
+import java.awt.*;
+
+public class Main {
+ public static void main(String[] args) {
+ try {
+ UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+ }
+ catch (UnsupportedLookAndFeelException | ClassNotFoundException | InstantiationException |
+ IllegalAccessException _) {
+ }
+
+ EventQueue.invokeLater(() -> {
+ MainWindow w = new UI.MainWindow();
+ w.setVisible(true);
+ });
+ }
+}