public String getResponse()
	{
		// must have a value assigned to a variable in a method or it cannot be
		// used and will cause an error
		String response = null;
		response = JOptionPane.showInputDialog("type something");
		return response;
		// the local variable response may not have been initialized means that
		// you need to initialize the variable
	}