Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. String firstName = (String) this.gt.getTextFromEntry(1);
  2. String surname = (String) this.gt.getTextFromEntry(2);
  3. String email = (String) this.gt.getTextFromEntry(3);
  4. String cont = (String) this.gt.getTextFromEntry(4);
  5. String patientNo = (String) this.gt.getTextFromEntry(5);
  6. String date = (String) this.gt.getTextFromEntry(6);
  7. String doctor = (String) this.gt.getTextFromEntry(7);
  8. String fileNo = (String) this.gt.getTextFromEntry(8);
  9. int contact = Integer.parseInt(cont);
  10. int patientNumber = Integer.parseInt(patientNo);
  11. int file = Integer.parseInt(fileNo);
  12. Patients[file] = new Patient(firstName, surname, email, contact);
  13. Sessions[file] = new Session(patientNumber, date, doctor, file);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement