debugger/wam_debugger_swing/src/main/com/thesett/aima/logic/fol/wam/debugger/Main.java
public static void main(String[] args)
    {
        try
        {
            Main main = new Main();

            main.start();

            Runtime.getRuntime().addShutdownHook(main.getShutdownHook());

            main.awaitTermination(1, TimeUnit.DAYS);
        }
        catch (InterruptedException e)
        {
            e = null;
            Thread.currentThread().interrupt();
        }
    }
public static void main(String[] args)
    {
        try
        {
            Main main = new Main();

            main.start();

            Runtime.getRuntime().addShutdownHook(main.getShutdownHook());

            main.awaitTermination(1, TimeUnit.DAYS);
        }
        catch (InterruptedException e)
        {
            e = null;
            Thread.currentThread().interrupt();
        }
    }
Launches the debugger as a stand-alone Swing application.

@param args Command line parameters.