private static boolean testCompatibility() {
        if (System.getProperty("java.version").contains("1.7")) {
            javaVersion = 7;

            GraphicsDevice dev = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
            if (dev.isWindowTranslucencySupported(WindowTranslucency.PERPIXEL_TRANSLUCENT)) {
                perpixel = true;
            } else if (dev.isWindowTranslucencySupported(WindowTranslucency.TRANSLUCENT)) {
                perpixel = false;
            } else {
                JOptionPane.showMessageDialog(null, "Sorry, your system does not support this program, please update your Java version and try again", "ERROR", JOptionPane.ERROR_MESSAGE);
                return false;
            }
        } else {
            javaVersion = 6;

            if (!AWTUtilities.isTranslucencySupported(AWTUtilities.Translucency.TRANSLUCENT)) {
                JOptionPane.showMessageDialog(null, "Sorry, your system does not support this program, please update your Java version and try again", "ERROR", JOptionPane.ERROR_MESSAGE);
                return false;
            }
        }

        String osString = System.getProperty("os.name").toLowerCase();

        if (osString.contains("windows"))
            os = OS.WINDOWS;
        else if (osString.contains("os x"))
            os = OS.OSX;
        else if (osString.contains("linux"))
            os = OS.LINUX;
        else
            os = OS.UNKNOWN;

        return true;
    }