Thanks for your help

I fixed the code as you suggested and it worked perfectly

I am using Eclipse Galelio and I have only one set of " on the keyboard

I really love JOptionPane and will be practicing more