if(searchButton == e.getSource()){
String s = JOptionPane.showInputDialog(null, "Enter Employee ID to search: ");
int find = Integer.parseInt(s);
I know this works when you want to input a number such as 1,2,3 and so on.
What would be the correct way for doing this if I had a String such as a name? The Interger.parseInt will not work for that? How do I go about this? Thanks.
