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

import java.awt.*;

public class Main {
    public static void main(String[] args) {
        new ConnectionHandler("jdbc:sqlite:LibMan.db").connect();

        EventQueue.invokeLater(() -> {
            LafManager.setTheme(new SolarizedLightTheme());
            LafManager.install();

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