title: Turn a User Input String to Upper Case Java
body: <p>This may seem like a silly question, but after going through pages of google, i havnt been able to find the answer i want.</p>
  
  <pre><code>s1.setName(JOptionPane.showInputDialog("Enter Name: ");
  </code></pre>
  
  <p>For the above piece fo code, how would i format the data the user entered to be all capitals?</p>
  
  <p>Any help here would be appreciated.</p>