private void resolution() {

        if (width == 800 && height == 600) {
        } else {
            if (width == 1024 && height == 768) {
            } else {
                if (width == 1152 && height == 864) {
                } else {
                    if (width == 1280 && height == 720) {
                        yIcon = 630;
                        yText = 680;
                        xText_score = 1070;
                        xIcon_score = 1000;
                        xText_life = 107;
                        xTime = 600;
                        xBar_life = 70;
                        yBar_life = 610;
                    }
                }
            }
        }
    }