aboutsummaryrefslogtreecommitdiff
path: root/src/Main.java
blob: 3ee4764f5fbf0d2016d3178a4b9ebde593c59b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import UI.MainWindow;
import com.github.weisj.darklaf.LafManager;
import com.github.weisj.darklaf.theme.SolarizedLightTheme;

import java.awt.*;

public class Main {
    public static void main(String[] args) {
        EventQueue.invokeLater(() -> {
            LafManager.setTheme(new SolarizedLightTheme());
            LafManager.install();

            MainWindow w = new UI.MainWindow();
            w.setVisible(true);
        });
    }
}