public static String getProfile() {
        StringBuffer sb = new StringBuffer();
        sb.append("OS = " + System.getProperty("os.name") + " (" + System.getProperty("os.version") + "), " + System.getProperty("os.arch")
                + "\n");
        sb.append("Java Version = " + System.getProperty("java.version") + "\n");
        if (JVM.isMac) {
            sb.append("apple.awt.graphics.UseQuartz = " + usingQuartz);
        }
        return sb.toString();
    }