public void changeLanguage(Student u){
        String l = u.getLocale();
        if(l.equals("Tagalog")){
            //change all labels
            system.setTitleAt(0,"Tahanan");
            system.setTitleAt(1,"Pagpapatala");
            system.setTitleAt(2,"Pananalapi");
            system.setTitleAt(4,"Mga Setting ng gumagamit");
            welcome.setText("Mabuhay Johnny Appleseed");
            a.setText("Tirahan:");
            pn.setText("Numero ng Telepono");
            lan.setText("Wika");
            chgpwd.setText("Baguhin ang password");
            can.setText("Kanselahin");
        } else{
            system.setTitleAt(0,"Home");
            system.setTitleAt(1,"Enrollment");
            system.setTitleAt(2,"Financial Managament");
            system.setTitleAt(4,"User Settings");
            welcome.setText("Welcome Johnny Appleseed");;
            a.setText("Address:");
            pn.setText("Phone Number");
            lan.setText("Language");
            chgpwd.setText("Change Password");
            can.setText("Cancel");
        }
        
    }