public static boolean applyLookAndFeelByName(String name)
    {
        try
        {
            if (name != null)
            {
                for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels())
                {
                    if (name.equals(info.getName()))
                    {
                        UIManager.setLookAndFeel(info.getClassName());
                        return true;
                    }
                }
            }
            
        }
        catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException e)
        {
            System.out.println("Cannot apply Look And Feel!");
            e.printStackTrace();
            return false;
        }
        
        return false;
    }