aboutsummaryrefslogtreecommitdiff
path: root/src/Main.java
blob: c02430a2812e4a4b1e8a90e83c4e6652c0d4af43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
        });
    }
}