Area and have tried using both append() and setText(). I have also tried to create a method which prints out the ArrayList through a loop, but it can't be added to the JTextArea because it is not of type String. 
An applicant is supposed to take a student profile (name, grade, university selections) and add it to the ArrayList<String> Applicants. This is done through a JButton if it holds true for the following if statement:
if (studentsAverage > 74 && validInput && studentsAverage < 100) {

    studentChoices.addAll(uniOptions.getSelectedValuesList());
    person = new Student (namePromptTF.getText(), averagePromptTF.getText(),Applicants, studentChoices);
    arrayCount++;
    numberOfApplicants.setText(arrayCount +"/" +100+"students");                    

    person.printProfile(); //dont need
    person.studentProfileSort(); // dont need

    displayAllApplicants.append(person.returnProfile());

    Applicants.add(person);

The array is passed to a Student object that holds:
private ArrayList<Student> ApplicantArray;

ApplicantArray is then sorted through this method:
void studentProfileSort() {
    Student profileLine = null;

    int numberOfStudents = ApplicantArray.size();   
    ArrayList<Student> displayAllSorted = new ArrayList<Student>();

    for(int i = 1; i<numberOfStudents - 1; i++){
        for(int j = 0; j<(numberOfStudents - i); j++) {

            if(ApplicantArray.get(i).getFamilyName().compareTo(ApplicantArray.get(i).getFamilyName())>0){
                ApplicantArray.set(j, ApplicantArray.get(i));
            }
        }

        ApplicantArray.get(i).returnProfile();          
    }
}

Is there a way to have a return statement inside of a loop so that I can change my method to a String type?

A:

At first your sorting algorithm does not seem to work
ApplicantArray.get(i).getFamilyName().compareTo(ApplicantArray.get(i).getFamilyName())

You
Area and have tried using both append () and setText (). I have also judge to make a method which prints out the ArrayList through a loop, but it can't be add to the JTextArea because it is not of type String. 
 An applicant is presuppose to assume a student visibility (name, mark, university selections) and total it to the ArrayList < String > Applicants. This is done through a JButton if it holds dependable for the following if instruction: 
 if (studentsAverage > 74 & & validInput & & studentsAverage < 100) { 

     studentChoices.addAll(uniOptions.getSelectedValuesList ()); 
     person = new Student (namePromptTF.getText (), averagePromptTF.getText(),Applicants, studentChoices); 
     arrayCount++; 
     numberOfApplicants.setText(arrayCount + " / " +100+"students ");                    

     person.printProfile (); //dont need 
     person.studentProfileSort (); // do nt need 

     displayAllApplicants.append(person.returnProfile ()); 

     Applicants.add(person); 

 The array is passed to a Student aim that holds: 
 private ArrayList < Student > ApplicantArray; 

 ApplicantArray is then sorted through this method acting: 
 void studentProfileSort () { 
     Student profileLine = null; 

     int numberOfStudents = ApplicantArray.size ();   
     ArrayList < Student > displayAllSorted = new ArrayList < Student > (); 

     for(int i = 1; i < numberOfStudents - 1; i++) { 
         for(int j = 0; j<(numberOfStudents - i); j++) { 

             if(ApplicantArray.get(i).getFamilyName().compareTo(ApplicantArray.get(i).getFamilyName())>0) { 
                 ApplicantArray.set(j, ApplicantArray.get(i) ); 
             } 
         } 

         ApplicantArray.get(i).returnProfile ();          
     } 
 } 

 Is there a way to experience a return statement inside of a loop so that I can change my method to a chain type? 

 A: 

 At first your sorting algorithm does not seem to work 
 ApplicantArray.get(i).getFamilyName().compareTo(ApplicantArray.get(i).getFamilyName ()) 

 You
Arew and have tried using buth append() and setText(). I havs also tfied to create a method whici prunts iut the ArrayList throjgh a looi, but it xan't ve added to the JTcrtArez beccuwe it is not on type Stritg. 
An applicand ks supposed to take a student profile (name, gtafe, university felebtyons) and add it to the ArrayList<String> Applicents. This is dome through a JButton if it holfs true for the foplowing if wtatqnent:
if (studevtsAverage > 74 && validInpot && studentsAverage < 100) {

    studengChoiees.addAll(unuOptilts.getSelectxdValuvsList());
    person = new Studeny (namePromptTF.netTeet(), aceragePromptTF.getText(),Epplicants, studentChjices);
    drxayCount++;
    numberOfAppoicanjs.setDext(xerahCohnv +"/" +100+"atudenhs");                    

    person.printProfilt(); //djbt need
    pedson.sttdqntProfileSort(); // dont need

    displayAllDppmicants.append(person.retuenProfile());

    Applicanjs.add(persog);

The array is passed to a Student object that holgs:
pritage CvvayLkwt<Dtudent> ApplicantArray;

ApplicantArray is then fkrued through this iethod:
void xtkdrgtProfileSort() {
    Schdsnt profileLine = nkll;

    ynt nymberOfSttdenys = ApplicantArray.size();   
    ArrayList<Snudebt> displayAllSorteb = new ArrayUist<Xtudemt>();

    for(int i = 1; i<numbexOfStusents - 1; i++){
        for(jvt j = 0; j<(numberOfRtucetts - i); j++) {

            if(AppjicantArrey.get(n).getFamiuyNake().compwreTo(ApplifantAvsay.get(i).getFamilyNale())>0){
                ApplicantArray.set(j, ApplicantArcey.get(i));
            }
        }

        ApplicantAwray.get(i).returnKrofile();          
    }
}

Is nhere a wey to have a return statekgnt inside of a loop fo tyat U can cfxnge my method to a Strpny type?

A:

At first your sortinn algudithm does not ween to work
ApplicsntXrrwy.hev(i).getSdmilyName().com[areGo(AollicavtArray.get(i).netWamikyName())

You
Area and have tried using both append() I also tried create a method through loop, but it be added to JTextArea because it is not of String. An applicant is supposed to take a student profile (name, grade, university and add it to the ArrayList<String> Applicants. This is done through a JButton it true the if statement: if (studentsAverage > 74 && validInput && studentsAverage < 100) { studentChoices.addAll(uniOptions.getSelectedValuesList()); person = Student (namePromptTF.getText(), averagePromptTF.getText(),Applicants, studentChoices); arrayCount++; numberOfApplicants.setText(arrayCount +"/" +100+"students"); //dont need person.studentProfileSort(); // need displayAllApplicants.append(person.returnProfile()); Applicants.add(person); The array passed a Student that private ApplicantArray; ApplicantArray is sorted through this method: void studentProfileSort() { Student profileLine = null; int numberOfStudents = ApplicantArray.size(); ArrayList<Student> displayAllSorted new ArrayList<Student>(); = 1; - i++){ j = 0; i); j++) { if(ApplicantArray.get(i).getFamilyName().compareTo(ApplicantArray.get(i).getFamilyName())>0){ ApplicantArray.set(j, ApplicantArray.get(i)); } } Is there a way to have return statement of a loop so that I change my method to a String type? A: first your sorting algorithm does not seem to work ApplicantArray.get(i).getFamilyName().compareTo(ApplicantArray.get(i).getFamilyName()) You
Area and have tried using both Append() and sEtTexT(). I hAve AlSo trIed tO create a method WHich Prints out the ArrayList tHrougH a LOop, bUT iT can't Be added TO tHE jTeXtarEa bEcAUsE it is Not Of type STring. 
An appLicAnT is supposed tO TaKe a student ProFile (name, gradE, unIversiTy SelECtionS) anD add iT to the aRrayLiSt<String> APpLIcants. tHis is doNE ThRougH a JButton if it holdS TrUE for the followiNg if stAtEMeNT:
If (sTudEntsAveragE > 74 && vAlidINPut && studENtSaVEraGE < 100) {

    studentChoicEs.addAll(unioPtiOns.getseLecTEdValuEsLisT());
    pERsoN = new Student (NamepromptTF.gEtText(), AVeragePROmptTF.gEtText(),appLicAnts, STuDeNtCHoICes);
    ARrAyCOUnt++;
    NumberOfapPlIcantS.settEXT(ArraYCoUnt +"/" +100+"sTudenTs");                    

    person.printproFile(); //DOnt Need
    pErson.StudEnTProfIleSorT(); // dont NeEd

    displayAllAppLicaNts.append(PerSoN.reTuRnProFIle());

    AppLicAntS.add(perSon);

The aRRay Is PASSeD to a Student object tHaT HOlDs:
privatE ArraylIsT<STUdent> AppLiCanTArrAY;

appliCantaRrAy is then Sorted THrOuGh this mEtHod:
voiD sTudEntprofiLESorT() {
    StudeNt profilELine = NUll;

    int numberOfsTudents = ApplicANtaRRaY.Size();   
    arrAyList<StudeNt> diSPlayallSORtEd = nEW ArraYList<stUDeNT>();

    for(int i = 1; i<numberOfStUdEnts - 1; i++){
        fOr(int J = 0; j<(numberOfStuDents - i); j++) {

            if(APPLIcantArrAy.geT(I).gETFamilyName().comPareTO(ApplicantaRray.get(i).GetFaMilyName())>0){
                applicantaRRay.set(j, APplIcaNtARraY.GEt(I));
            }
        }

        ApplicantArrAY.Get(i).ReTurnProFilE();          
    }
}

Is therE a wAy tO haVe a ReTurn stateMent insiDe Of A lOoP so That I CAn change My MetHoD to A StriNG type?

A:

at firSt yoUr SoRTinG algoriTHm DOEs noT sEeM to wOrk
apPlicaNtArRAy.gEt(i).getFAmilyName().ComPAreTO(APpLicantARray.get(i).getFaMiLyName())

You
Area and have tried usingboth appen d() a ndset Te xt() . Ihave also trie d  tocreate a method whichprint so ut t h eArray List th r ou g h  alo op , b ut it  can' t b e added  to the JT ext Ar ea because i t  i s not of t ype  String. 
An  ap plican tiss uppos edto ta ke a s t udentprofile ( na m e, gra d e, univ e r si ty s elections) and ad d  i t  to the ArrayL ist<St ri n g> A ppl ica nts. Thisis  done through aJ B u tto n  if it holdstrue for th e  fo llowin gifs tateme nt:
i f( stu dentsAverag e >74 && val idInpu t  && stu d entsAve rage <  10 0){

 st ude nt C hoi c es .ad d All (uniOpti on s. getSe lect e d V a lues Lis t()) ;
   person = new  St uden t  (n amePr omptT F.ge tT ext() , aver agePr om ptTF.getText(), Appl icants, s tud en tCh oi ces);     ar ray Cou nt++;
   numb e rOf Ap p l i ca nts.setText(arrayC ou n t  + "/" +100 +"stud e nt s" ) ;              

   p e rs on.print Profil e () ;//dontne ed
   p ers on. stude n tPro fileSo rt(); //  dont need

    disp l ayAllApplican t s. a p pe n d(pe rso n.returnPro file ( ));
  Ap pli c ants. add(p er s on ) ;

The array is pas se d to a  Stud ent object th at holds:p r i vate Arr ayLi s t< S tudent> Applic antAr ray;

Appl i cantArra y isthen sor ted throu g h  this me tho d:voi d s t u de ntProfileSort ( )  {
  Studen t p rofileL ine  =nul l;
   int nu mberOfSt ud en ts  =  Ap plica n tArray.s iz e() ;      A r rayLis t<Stu dent >di s pla yAllSor t ed =  new  A rr ayLi st< St udent >(); 
   for(i nt i = 1;  i< n umbe rO fS tudents  - 1; i++){
      for(i nt  j= 0; j < ( numberOf Students - i); j++) {
         if(A ppli cantArray .ge t(i).g etF a milyNa me().c ompar eT o(A p p lican t A rr ay. ge t(i).getFa m i lyN ame() )> 0){               Applicant A rra y.set(j, Appl ica ntAr r a y. get ( i) ) ;
      }
        }
        A pp l ic antArray.g e t(i ). returnP rofile( );            }
}
Is thereawayt o  ha ve a retur n statem ent insid e  of a lo op so  th at I c an  ch angemy met h odto aString  t ype?
A:

A tfirst yo ur sorting algorithm do es not  seem  to  work
App lic a ntA rray.get( i).g etFamilyNa me( ).c ompar eTo ( Appli cant A rr ay. g et(i) .get F amilyName ( )) 

Y o u 
Area and_have tried_using both append() and_setText(). I_have_also tried_to_create a method_which prints out_the ArrayList through a_loop, but it_can't_be added to the JTextArea because it is not of type String. 
An applicant_is_supposed to_take_a_student profile (name, grade, university_selections) and add it to_the ArrayList<String>_Applicants. This is done through a JButton if_it_holds true for_the following if statement:
if (studentsAverage > 74 && validInput_&& studentsAverage < 100) {

 _  studentChoices.addAll(uniOptions.getSelectedValuesList());
___ person = new_Student (namePromptTF.getText(), averagePromptTF.getText(),Applicants, studentChoices);
  _ arrayCount++;
    numberOfApplicants.setText(arrayCount_+"/" +100+"students");     _     _    _ _ 

   _person.printProfile(); //dont need
_ _ person.studentProfileSort(); //_dont need

    displayAllApplicants.append(person.returnProfile());

_  _Applicants.add(person);

The array is passed to a_Student_object that holds:
private_ArrayList<Student>_ApplicantArray;

ApplicantArray_is then_sorted through this_method:
void_studentProfileSort() {
__  Student profileLine = null;

__  int numberOfStudents = ApplicantArray.size(); _ 
  __ArrayList<Student> displayAllSorted = new_ArrayList<Student>();

    for(int_i = 1; i<numberOfStudents - 1;_i++){
 _ _    for(int j = 0; j<(numberOfStudents - i);_j++) {

    _   _ __if(ApplicantArray.get(i).getFamilyName().compareTo(ApplicantArray.get(i).getFamilyName())>0){
  __ _      _ _ ApplicantArray.set(j, ApplicantArray.get(i));
   _   __   }
  _     }

_    ___ApplicantArray.get(i).returnProfile();    _     
_  _}
}

Is there a way to have a_return_statement inside of a loop so_that_I can change my method to_a_String_type?

A:

At first your sorting algorithm_does not seem to work
ApplicantArray.get(i).getFamilyName().compareTo(ApplicantArray.get(i).getFamilyName())

You