The method showInputDialog(Object) in the type JOptionPane is not applicable for the arguments ()
Check the documentation for use of the method

Perhaps errors like this are the result of a...