Basiclly done. totalCost and costDue fields need to be moved to either TreatmentTable or PatientSelectionPane. At the moment they both return in dialog boxes. Also consider having the table display all the columns, or figure out a way of just displaying Treatment Name and Cost. I got it to display Treatment Name and Date but couldn't figure out the interface. But basic functionality is there. Check TreatmentTables for the treatment names that are recognised. Also I agree treatmentName should not be a primary key