package ru.faulab.attendence;

import com.google.inject.Guice;
import com.google.inject.Injector;
import ru.faulab.attendence.module.MainModule;
import ru.faulab.attendence.ui.MainFrame;

public class Runner {

    /*
    * 1. Статистика
    * */
    public static void main(String[] args) throws Exception {

        String userHome = System.getProperty("user.home");
        System.setProperty("derby.system.home", userHome);

        Injector injector = Guice.createInjector(new MainModule());

        MainFrame mainFrame = injector.getInstance(MainFrame.class);
        mainFrame.init();
    }


}

@@ -188,16 +188,41 @@
 ame;%0D%0A%0D%0A
+import javax.swing.*;%0D%0A%0D%0A
 public c
@@ -338,24 +338,213 @@
 eption %7B%0D%0A%0D%0A
+        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());%0D%0A        JFrame.setDefaultLookAndFeelDecorated(true);%0D%0A        JDialog.setDefaultLookAndFeelDecorated(true);%0D%0A%0D%0A
         Stri

Set UI as best on OS