Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String firstName = (String) this.gt.getTextFromEntry(1);
- String surname = (String) this.gt.getTextFromEntry(2);
- String email = (String) this.gt.getTextFromEntry(3);
- String cont = (String) this.gt.getTextFromEntry(4);
- String patientNo = (String) this.gt.getTextFromEntry(5);
- String date = (String) this.gt.getTextFromEntry(6);
- String doctor = (String) this.gt.getTextFromEntry(7);
- String fileNo = (String) this.gt.getTextFromEntry(8);
- int contact = Integer.parseInt(cont);
- int patientNumber = Integer.parseInt(patientNo);
- int file = Integer.parseInt(fileNo);
- Patients[file] = new Patient(firstName, surname, email, contact);
- Sessions[file] = new Session(patientNumber, date, doctor, file);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement