Hi,
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 JOptionPane
but it keeps displaying the icon in the main display area rather than in the title.
Here is the 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);
Thanks