title: Can't Java GUI to look the way I want...?
body: <p>Question just wants the GUI to look like this:</p>
  
  <p>Here's the code I have</p>
  
  <pre><code>import javax.swing.JOptionPane;
  
  class Customer
    {
  
      String n = JOptionPane.showInputDialog("Enter name");
      String id = JOptionPane.showInputDialog("Enter id");
      String sub = JOptionPane.showInputDialog("Enter Submit");
  
  JOptionPane.showMessageDialog(null, null, null, JOptionPane.PLAIN_MESSAGE)
  
    }
  </code></pre>
  
  <p>}</p>
  
  <p>I want it everything to look horizontal </p>
  
  <pre><code>Enter Name         [box to fill in name]
  
  Enter id            [box to fill in id]
  
  Submit              [box to enter submit]
  </code></pre>