Modifying code to permit update/delete/query by ID

Okay. Class project, netbeans connecting to mySQL database. After clarifying some issues with mentor, mentor pointed out that for the update/delete/query actions, asking what type of student (graduate, etc) is not required; just ID. So... I need to figure out how to modify my code to ask for student ID (for the delete/update sections) and then ... the mentor said it should be query all or query by ID. I'm having a really bad brain day and can't figure out how to modify the code to make it work. Here's an example snippet.

Note that the program works at this point, and will add, update, query, and delete... just has to be modified to fit the "new" criteria. This is in the class meant to "drive" the whole deal. The individual groups(graduate, part time, etc) have their own little delete snippets in each class that are simple "delete FROM * WHERE studentID" sorts of things.