View Single Post
Old Dec 23rd, 2006, 7:11 PM   #2
BinarySurfer
Programmer
 
BinarySurfer's Avatar
 
Join Date: Dec 2006
Posts: 50
Rep Power: 2 BinarySurfer is on a distinguished road
I finished a student database a week ago. I made a method that loaded the students onto a JList. When a student was deleted, it ran the method after the deletion was completed, basically refreshing the list being viewed. Do keep in mind to not forget to erase contents on the list before refreshing (depending on how you do it of course).
No offense, but I will never trust another programmer enough to download their code, sorry. I would look back on how you are loading the data with the "PopulateStudentCombo()". Do you have it broken down to a decent number of operations because if you did it right, it should be working. I mean, there could be something interfering in that class. Another possiblility is in your "deleteStudentRecord(student_regNo)". Are you sure the record is deleted from the database? I know it sounds stupid, but you never know.

Last edited by BinarySurfer; Dec 23rd, 2006 at 7:25 PM. Reason: One more detail
BinarySurfer is offline   Reply With Quote