title: Return string Input with parse.string
body: <p>I'm having an issue with a java program trying to get a string input from a joptionpane menu with a prompt box. With returning a string input. 
  I don't know if im going about it all wrong by trying to use</p>
  
  <pre><code>String.parseString(input)
  </code></pre>
  
  <p>Im very much a beginner with this so any help would have to be as simple as possible or a correction outright. </p>
  
  <pre><code>   private static String getStringInput (String prompt) {
           String input = EZJ.getUserInput(prompt);
           return String.parseString(input);
     }
  
  
  UseCalls.java:27: error: cannot find symbol
           return String.parseString(input);
                        ^
   symbol:   method parseString(String)
   location: class String
   1 error
  </code></pre>
  
  <p>Here is a sample of the menu Im trying to use it with </p>
  
  <pre><code>    do {
  
          userInput = mainMenu();
  
          if (userInput.equals("1")) {
              String name = getStringInput("Name?");
              String address = getStringInput("Address?");
              call[numCalls++] = new Call();
          }
          } while (!userInput.equals("0"));
  
  
  }
  </code></pre>
  
  <p>Here is the EZJ mini method</p>
  
  <pre><code>public class EZJ {
  
  public static String getUserInput (String prompt) {
      return JOptionPane.showInputDialog(prompt);
  }
  public static void dialog(String inputValue) {
      JOptionPane.showMessageDialog ( null, inputValue );
  }
  
  }
  </code></pre>