protected void modeTwo(MouseEvent e, TicTacToeSubMenu sm, Main m) {
        int x1 = sm.getX1();
        int y1 = sm.getY1();
        int w1 = sm.getW1();
        int h1 = sm.getH1();

        if (e.getX() > x1 && e.getX() < x1 + w1) {
            if (e.getY() > y1 && e.getY() < y1 + h1) {
                m.currentMode = m.mode3;
            }
        }

        int x2 = sm.getX2();
        int y2 = sm.getY2();
        int w2 = sm.getW2();
        int h2 = sm.getH2();

        if (e.getX() > x2 && e.getX() < x2 + w2) {
            if (e.getY() > y2 && e.getY() < y2 + h2) {
                m.currentMode = m.mode4;
            }
        }
    }