1) Your file is named incorrectly. It should be "Simple", not "Sinple".
2) You are missing a bracket ("}") at the end of the file. Put it on the last
line.
3) Add a fourth parameter to the call to showInputDialog (just like in your
second
call to showInputDialgo) with the name of the window in it.