title: Using custom icons in title with JOptionPane.showInputDialog
body: <p>I'm trying to use a custome icon in the title of the JOption pane rather then with the label. Is there a way that I can do that? I'm using the Icon class (as shown below) in <code>JOptionPane</code> but it keeps displaying the icon in the main display area rather than in the title. 
  Here is the code:</p>
  
  <pre><code>Icon icon = new ImageIcon(ApplicationManager.getApplicationImage().getImage());
  String jid = (String)JOptionPane.showInputDialog(ApplicationManager.getMainWindow(), 
                   Res.getString("label.enter.address"), 
                   Res.getString("title.start.chat"), 
                   JOptionPane.QUESTION_MESSAGE, 
                   icon,                    
                   null, 
                   selectedUser);
  </code></pre>
  
  <p>Thanks </p>