public static void main(String[] args) {
        if(args.length != 0){
            Logger.setDebugLevel(Logger.DEBUG_LEVEL_DEBUG);
            ServerRunner sr = new ServerRunner(args);
            Server serv = sr.runServer();
            try {
                serv.join();
            } catch (InterruptedException ex) {
                ex.printStackTrace();
            }
            return;
        }
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                try {
                    UIManager.setLookAndFeel(UIManager.
                                             getSystemLookAndFeelClassName());
                } catch (Exception exception) {
                    exception.printStackTrace();
                }

                new HadukiServer();
            }
        });
    }