title: JOptionPane customize input
body: <p>All I want to do is have a JOptionPane inputDialog with a JTextArea instead of a JTextField.<br>
  I tried putting the JTextArea inside of the Message parameter like so</p>
  
  <pre><code>Object[] inputText = new Object[]{new JLabel("Enter Graph Information"),
                                    newJTextArea("",20,10)};
  graphInfo=(String)JOptionPane.showInputDialog(null,
                                                inputText,
                                                "Create Graph",
                                                JOptionPane.PLAIN_MESSAGE,
                                                null,
                                                null,
                                                "");
  </code></pre>
  
  <p>But it still has the text field at the bottom and I cannot get the text from the JTextArea.
  Is there any way to either remove the original text field and get the text from the jtextarea or replace the text field with the text area completely? I'm trying to avoid having to make a custom dialog if possible and this "seems" like something that should be easy to do?</p>