public void loadall(){
        int i = 0;
         for(Applicant temp : candid){
            String tName = temp.getName();
            String tSchool = temp.getSchool();
            String tDegree = temp.getDegree();
            int tCat = temp.getCategory();
            
            
            for(int j=0; j<4; j++){
                if(j==0){//name
                    allapplicantjTable.setValueAt(tName, i, j);
                }
                else if(j==1){ //school
                    allapplicantjTable.setValueAt(tSchool, i, j);
                }
                else if(j==2){ //degree
                    allapplicantjTable.setValueAt(tDegree, i, j);
                }
                else{ //category
                    allapplicantjTable.setValueAt(tCat, i, j);
                }
                
                
                
            }
            i++;
        }
        
    }