public static void main(String[] args) 
    {
        //First, let's check the OS and set the Look and Feel based on that
        OsCheck.OSType ostype = OsCheck.getOperatingSystemType();
        switch(ostype)
        {
            case Windows:
                    try
                    {
                        systemLookAndFeel = UIManager.getSystemLookAndFeelClassName();
                    }
                    catch(Exception ex)
                    {
                        systemLookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                    }
                break;
            case Linux:
                    try
                    {
                        systemLookAndFeel = "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
                    }
                    catch(Exception ex)
                    {
                        systemLookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                    }
                break;
            case MacOS:
                    try
                    {
                        systemLookAndFeel = UIManager.getSystemLookAndFeelClassName();
                    }
                    catch(Exception ex)
                    {
                        systemLookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                    }
                isOSX = true;
                break;
            case Other:
                    systemLookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                break;
        }
        //JPad pad = new JPad();
        //pad.runGUI();
        runGUI();
    }